Skip to main content

Home > blockly > ButtonFlyoutInflater > load

ButtonFlyoutInflater.load() method

Inflates a flyout button 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 button.
flyoutIFlyoutThe flyout to create the button on.

Returns:

FlyoutItem

A newly created FlyoutButton.