blockly > ToolboxCategory > closeIcon_
ToolboxCategory.closeIcon_() method
Adds appropriate classes to display a closed icon.
Signature:
protected closeIcon_(iconDiv: Element | null): void;
Parameters
Parameter | Type | Description |
---|---|---|
iconDiv | Element | null | The div that holds the icon. |
Returns:
void