blockly > FlyoutItem

FlyoutItem class

Representation of an item displayed in a flyout.

Signature:

export declare class FlyoutItem 

Constructors

Constructor Modifiers Description
(constructor)(element, type) Creates a new FlyoutItem.

Methods

Method Modifiers Description
getElement() Returns the element displayed in the flyout.
getType() Returns the type of flyout element this item represents.