blockly > LabelFlyoutInflater

LabelFlyoutInflater class

Class responsible for creating labels for flyouts.

Signature:

export declare class LabelFlyoutInflater implements IFlyoutInflater 

Implements: IFlyoutInflater

Methods

Method Modifiers Description
disposeItem(item) Disposes of the given label.
gapForItem(state, defaultGap) Returns the amount of space that should follow this label.
getType() Returns the type of items this inflater is responsible for creating.
load(state, flyout) Inflates a flyout label from the given state and adds it to the flyout.