IIcon interface
Signature:
export interface IIcon extends IFocusableNode
Extends: IFocusableNode
Methods
Method | Description |
|---|---|
Updates the icon's color when the block's color changes.. | |
Disposes of any elements of the icon. | |
Hides the icon when it is part of an insertion marker. | |
Creates the SVG elements for the icon that will live on the block. | |
(Optional) Check whether the icon should be clickable while the block is in a flyout. If this function is not defined, the icon will be clickable in all flyouts. | |
Notifies the icon that it has been clicked. | |
Notifies the icon that it has changed locations. | |
Notifies the icon where it is relative to its block's top-start, in workspace units. | |
Updates the icon's collapsed-ness/view when the block's collapsed-ness changes. | |
Updates the icon's editability when the block's editability changes. |