blockly > IToolbox > refreshSelection
Updates the flyout's content without closing it. Should be used in response to a change in one of the dynamic categories, such as variables or procedures.
Signature:
refreshSelection(): void;
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 `refreshSelection` method updates the content of the Blockly toolbox's flyout."],["This method is used to reflect changes in dynamic categories like variables or procedures without closing the flyout."],["Calling `refreshSelection` does not return any value (void)."]]],[]]