icon
A function that returns a new icon resource object for the specified icon.
static
icon: { (name: string): UIIconResource; readonly BLANK: UIIconResource; readonly CLOSE: UIIconResource; readonly CHECK: UIIconResource; readonly MENU: UIIconResource; readonly MORE: UIIconResource; readonly PLUS: UIIconResource; readonly MINUS: UIIconResource; readonly CHEVRON_DOWN: UIIconResource; readonly CHEVRON_UP: UIIconResource; readonly CHEVRON_NEXT: UIIconResource; readonly CHEVRON_BACK: UIIconResource; }
Notes
- Icons can be defined using UITheme.icons.
Related
- uiAn object with functions for creating UI components and other resources.
- class UIIconResourceAn object that represents an icon that can be used on labels or buttons.