Skip to main content
Version: 2.x

ElementStyles.(constructor)

@microsoft/fast-element > ElementStyles > (constructor)

ElementStyles.(constructor)

Creates an instance of ElementStyles.

Signature:

constructor(styles: ReadonlyArray<ComposableStyles>);

Parameters

Parameter

Type

Description

styles

ReadonlyArray<ComposableStyles>

The styles that will be associated with elements.