blockly > IIcon > isShownWhenCollapsed

IIcon.isShownWhenCollapsed() method

Signature:

isShownWhenCollapsed(): boolean;

Returns:

boolean

Whether this icon is shown when the block is collapsed. Used to allow renderers to account for padding.