AdaptableIcon

View as Markdown

An icon shown in the Dashboard, a button, a menu or a tool panel.

A system icon sets name (an AdapTable icon, or one registered in userInterfaceOptions.customIcons). A custom icon sets src to an image URL. An element icon sets element to a DOM node or an HTML string. size on a system icon is pixels and defaults to 17.

TypeScript
export type AdaptableIcon = AdaptableSystemIcon | AdaptableCustomIcon | AdaptableElementIcon;
References

AdaptableSystemIcon | AdaptableCustomIcon | AdaptableElementIcon