StaticregisterRegister an icon by a short key, without the 'icon-' prefix.
The icon identifier.
The icon source.
StaticregisterRegister a symbol-defined icon. The symbol markup is converted to an inline SVG so no sprite injection is needed.
The icon identifier.
The symbol identifier (unused).
The SVG symbol markup.
StaticregisterRegister a standalone SVG string as an icon.
The icon identifier.
The SVG markup string.
StaticregisterRegister an external URL as an icon.
The icon identifier.
The URL of the icon.
StatichasChecks if an icon with the given identifier is registered.
The icon identifier.
True if the icon is registered, false otherwise.
StaticgetRetrieves the icon source for the given identifier.
The icon identifier.
The icon source if found, undefined otherwise.
StaticcreateReturns an Element rendering the icon inline, or null if not found.
The icon identifier.
Optionalsize: numberThe desired size of the icon in pixels.
An Element representing the icon, or null if not found.
Registry of icon sources used by editor and toolbar components.