Skip to main content

@microsoft/fast-element > Controller > styles

Controller.styles property

Gets/sets the primary styles used for the component.

Signature:
get styles(): ElementStyles | null;

set styles(value: ElementStyles | null);

Remarks

This value can only be accurately read after connect but can be set at any time.