Remove all variable modes
style.removeAllVariableModes(options)
Remove all variable modes from a style.
Syntax
Parameters
- options?: BreakpointAndPseudo - The breakpoint and pseudo state for the style.
-
BreakpointId: Identifies the responsive breakpoint to get styles for. -
PseudoStateKey: Specifies a CSS pseudo-class to get styles for.
-
Returns
Promise<null>
A promise that resolves to null.