Docs (4.0.0)
class UIStyle method

getStyles

Returns the list of styles that should be applied to a UI component.

getStyles(): Readonly<UIStyle.StyleSelectorList<TDefinition>>

Notes

  • This method is called by the renderer to declare each style once, and doesn’t need to be called otherwise. It can be overridden to modify or add styles.
  • The static extend() method returns a subclass that overrides this method to include the specified styles.

Related

  • class UIStyleA class that defines a set of styles that can be applied to UI components.