@microsoft/fast-element > Controller > removeStyles
Controller.removeStyles() method
Removes styles from this element. Providing an HTMLStyleElement will detach the element instance from the shadowRoot.
Signature:removeStyles(styles: ElementStyles | HTMLStyleElement): void;
Parameters
Parameter | Type | Description |
---|---|---|
styles | ElementStyles | HTMLStyleElement | the styles to remove. |
void