style
A function that returns a new or existing UIStyle (base) class for the specified style.
static
style: { (name: string): UIStyle.Type<any>; readonly CELL: UIStyle.Type<UICell.StyleType>; readonly CELL_BG: UIStyle.Type<UICell.StyleType>; readonly LABEL: UIStyle.Type<UILabel.StyleType>; readonly LABEL_TITLE: UIStyle.Type<UILabel.StyleType>; readonly LABEL_SMALL: UIStyle.Type<UILabel.StyleType>; readonly LABEL_CLOSE: UIStyle.Type<UILabel.StyleType>; readonly BUTTON: UIStyle.Type<UIButton.StyleType>; readonly BUTTON_PRIMARY: UIStyle.Type<UIButton.StyleType>; readonly BUTTON_PLAIN: UIStyle.Type<UIButton.StyleType>; readonly BUTTON_ICON: UIStyle.Type<UIButton.StyleType>; readonly BUTTON_DANGER: UIStyle.Type<UIButton.StyleType>; readonly BUTTON_SUCCESS: UIStyle.Type<UIButton.StyleType>; readonly TEXTFIELD: UIStyle.Type<UITextField.StyleType>; readonly TOGGLE: UIStyle.Type<UIToggle.StyleType>; readonly TOGGLE_LABEL: UIStyle.Type<UILabel.StyleType>; readonly IMAGE: UIStyle.Type<UIImage.StyleType>; }
Notes
- Styles for each class can be defined using UITheme.styles.
Related
- uiAn object with functions for creating UI components and other resources.
- class UIStyleA class that defines a set of styles that can be applied to UI components.