blockly > Flyout > show
Flyout.show() method
Show and populate the flyout.
Signature:
show(flyoutDef: toolbox.FlyoutDefinition | string): void;
Parameters
Parameter |
Type |
Description |
flyoutDef |
toolbox.FlyoutDefinition | string |
Contents to display in the flyout. This is either an array of Nodes, a NodeList, a toolbox definition, or a string with the name of the dynamic category. |
Returns:
void
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[null,null,["Last updated 2024-09-18 UTC."],[[["The `Flyout.show()` method displays and fills the flyout with specified content."],["It accepts either a `toolbox.FlyoutDefinition` or a string defining the flyout's contents, which can include nodes, node lists, a toolbox definition, or a dynamic category name."],["Calling this method results in the flyout becoming visible and populated with the provided content."]]],[]]