Stay organized with collections
Save and categorize content based on your preferences.
blockly > BlockFlyoutInflater
BlockFlyoutInflater class
Class responsible for creating blocks for flyouts.
Signature:
export declare class BlockFlyoutInflater implements IFlyoutInflater
Implements: IFlyoutInflater
Constructors
Constructor |
Modifiers |
Description |
(constructor)() |
|
Creates a new BlockFlyoutInflater instance. |
Properties
Methods
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 2025-05-16 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 2025-05-16 UTC."],[],[],null,["[blockly](./blockly.md) \\\u003e [BlockFlyoutInflater](./blockly.blockflyoutinflater_class.md)\n\nBlockFlyoutInflater class\n-------------------------\n\nClass responsible for creating blocks for flyouts.\n\n**Signature:** \n\n export declare class BlockFlyoutInflater implements IFlyoutInflater \n\n**Implements:** [IFlyoutInflater](./blockly.iflyoutinflater_interface.md)\n\nConstructors\n------------\n\n| Constructor | Modifiers | Description |\n|---------------------------------------------------------------------------------------|-----------|---------------------------------------------|\n| [(constructor)()](./blockly.blockflyoutinflater_class._constructor__1_constructor.md) | | Creates a new BlockFlyoutInflater instance. |\n\nProperties\n----------\n\n| Property | Modifiers | Type | Description |\n|--------------------------------------------------------------------------------------------------------|-------------|----------------------------------------------------------------------------------------------|--------------|\n| [flyout?](./blockly.blockflyoutinflater_class.flyout_property.md) | `protected` | [IFlyout](./blockly.iflyout_interface.md) | *(Optional)* |\n| [listeners](./blockly.blockflyoutinflater_class.listeners_property.md) | `protected` | Map\\\u003cstring, [browserEvents.Data](./blockly.browserevents_namespace.data_typealias.md)\\[\\]\\\u003e | |\n| [permanentlyDisabledBlocks](./blockly.blockflyoutinflater_class.permanentlydisabledblocks_property.md) | `protected` | Set\\\u003c[BlockSvg](./blockly.blocksvg_class.md)\\\u003e | |\n\nMethods\n-------\n\n| Method | Modifiers | Description |\n|--------------------------------------------------------------------------------------------------------|-------------|-------------------------------------------------------------------------|\n| [addBlockListeners(block)](./blockly.blockflyoutinflater_class.addblocklisteners_1_method.md) | `protected` | Add listeners to a block that has been added to the flyout. |\n| [createBlock(blockDefinition, workspace)](./blockly.blockflyoutinflater_class.createblock_1_method.md) | | Creates a block on the given workspace. |\n| [disposeItem(item)](./blockly.blockflyoutinflater_class.disposeitem_1_method.md) | | Disposes of the given block. |\n| [gapForItem(state, defaultGap)](./blockly.blockflyoutinflater_class.gapforitem_1_method.md) | | Returns the amount of space that should follow this block. |\n| [getType()](./blockly.blockflyoutinflater_class.gettype_1_method.md) | | Returns the type of items this inflater is responsible for creating. |\n| [load(state, flyout)](./blockly.blockflyoutinflater_class.load_1_method.md) | | Inflates a flyout block from the given state and adds it to the flyout. |\n| [removeListeners(blockId)](./blockly.blockflyoutinflater_class.removelisteners_1_method.md) | `protected` | Removes event listeners for the block with the given ID. |\n| [setFlyout(flyout)](./blockly.blockflyoutinflater_class.setflyout_1_method.md) | `protected` | Updates this inflater's flyout. |"]]