blockly > icons > WarningIcon > isShownWhenCollapsed

icons.WarningIcon.isShownWhenCollapsed() method

Tells blockly that this icon is shown when the block is collapsed.

Signature:

isShownWhenCollapsed(): boolean;

Returns:

boolean