Skip to main content

Home > blockly > Flyout > setContents

Flyout.setContents() method

Store the list of elements on the flyout.

Signature:

setContents(contents: FlyoutItem[]): void;

Parameters

ParameterTypeDescription
contentsFlyoutItem[]The array of items for the flyout.

Returns:

void