blockly > IIcon > isClickableInFlyout

IIcon.isClickableInFlyout() method

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.

Signature:

isClickableInFlyout?(autoClosingFlyout: boolean): boolean;

Parameters

Parameter Type Description
autoClosingFlyout boolean true if the containing flyout is an auto-closing one.

Returns:

boolean

Whether the icon should be clickable while the block is in a flyout.