blockly > ButtonFlyoutInflater
ButtonFlyoutInflater class
Class responsible for creating buttons for flyouts.
Signature:
export declare class ButtonFlyoutInflater implements IFlyoutInflater
Implements: IFlyoutInflater
Methods
| Method | Modifiers | Description |
|---|---|---|
| disposeItem(item) | Disposes of the given button. | |
| gapForItem(state, defaultGap) | Returns the amount of space that should follow this button. | |
| getType() | Returns the type of items this inflater is responsible for creating. | |
| load(state, flyout) | Inflates a flyout button from the given state and adds it to the flyout. |