Skip to content

registerStyles(name, styles) ​

registerStyles used to extend style templates.

Reference ​

typescript
(
  name: string,
  styles: Styles
) => void

Parameters ​

  • name The name of the style template.
  • styles Style configuration. See styles for details. Incremental support.

Returns ​

registerStyles returns undefined .

Usage ​

Using initialization ​

Dynamic settings ​