ElementStyles.normalize() method
@microsoft/fast-element > ElementStyles > normalize
ElementStyles.normalize() method
Normalizes a set of composable style options.
Signature:
static normalize(styles: ComposableStyles | ComposableStyles[] | undefined): ElementStyles | undefined;
Parameters
Parameter | Type | Description |
---|---|---|
styles | ComposableStyles | ComposableStyles[] | undefined | The style options to normalize. |
Returns:
ElementStyles | undefined
A singular ElementStyles instance or undefined.