function icon()
Returns an icon reference by name, including custom icons.
function icon(name: string): UIIconResource;
Parameters
- name — The name of the icon to get.
Return value
A UIIconResource instance that resolves to the named icon.
Related
namespace UI
A namespace that contains functions for building a declarative UI using view builders.UIIconResource.getIcon() static
Returns an icon reference by name.
