@microsoft/fast-element > ElementStyles
ElementStyles class
Represents styles that can be applied to a custom element.
Signature:export declare abstract class ElementStyles
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
create | static | ElementStyleFactory | Create ElementStyles from ComposableStyles. |
Methods
Method | Modifiers | Description |
---|---|---|
withBehaviors(behaviors) | Associates behaviors with this set of styles. |