blockly > IFlyout > getContents

IFlyout.getContents() method

Returns the list of flyout items currently present in the flyout. The show method parses the flyout definition into a list of actual flyout items. This method should return those concrete items, which may be used for e.g. keyboard navigation.

Signature:

getContents(): FlyoutItem[];

Returns:

FlyoutItem[]

List of flyout items.