Skip to main content
Version: 1.x

@microsoft/fast-foundation > FoundationElement > styles

FoundationElement.styles property

Sets the default styles for the element instance. When undefined, the element will attempt to resolve default styles from the associated presentation or custom element definition.

Signature:
styles: ElementStyles | void | null;