Skip to main content

Home > 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

ParameterTypeDescription
autoClosingFlyoutbooleantrue if the containing flyout is an auto-closing one.

Returns:

boolean

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