Skip to main content

Home > blockly > FlyoutItem > (constructor)

FlyoutItem.(constructor)

Creates a new FlyoutItem.

Signature:

constructor(element: IBoundedElement & IFocusableNode, type: string);

Parameters

ParameterTypeDescription
elementIBoundedElement & IFocusableNodeThe element that will be displayed in the flyout.
typestringThe type of element. Should correspond to the type of the flyout inflater that created this object.