Skip to main content

Home > blockly > BlockFlyoutInflater > load

BlockFlyoutInflater.load() method

Inflates a flyout block from the given state and adds it to the flyout.

Signature:

load(state: object, flyout: IFlyout): FlyoutItem;

Parameters

ParameterTypeDescription
stateobjectA JSON representation of a flyout block.
flyoutIFlyoutThe flyout to create the block on.

Returns:

FlyoutItem

A newly created block.