@microsoft/fast-element > StyleTarget > prepend
StyleTarget.prepend() method
Warning: This API is now obsolete.
- use append()
Adds styles to the target by prepending the styles.
Signature:prepend(styles: HTMLStyleElement): void;
Parameters
Parameter | Type | Description |
---|---|---|
styles | HTMLStyleElement | The styles element to add. |
void