icons
A map that defines a set of predefined icons.
icons: Map<string, UIIconResource>
Description
The icons defined by this map are used by UIIconResource objects that are instantiated with the icon name, e.g. ui.icon("Menu")
(which returns new UIIconResource("Menu")
). Default icons are also available as static properties of ui.icon()
, e.g. ui.icon.MENU
.
Icon changes may not be applied to views that are already rendered. If needed, re-render content using app.renderer.remount()
.
Related
- class UIThemeA collection of default style options, colors, animations, effects, and icons, part of the global application context.