Stay organized with collections
Save and categorize content based on your preferences.
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.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["The `isClickableInFlyout` method determines if an icon on a block should be clickable when the block is located within a flyout."],["By default, icons are clickable in flyouts unless this method is defined and returns `false`."],["The method takes a boolean argument, `autoClosingFlyout`, indicating whether the flyout automatically closes after an item is selected."],["It returns a boolean value representing whether the icon should be clickable within the flyout context."]]],[]]