Stay organized with collections
Save and categorize content based on your preferences.
blockly > IHasBubble > setBubbleVisible
IHasBubble.setBubbleVisible() method
Sets whether the bubble is open or not.
Signature:
setBubbleVisible(visible: boolean): Promise<void>;
Parameters
Parameter |
Type |
Description |
visible |
boolean |
|
Returns:
Promise<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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eThe \u003ccode\u003esetBubbleVisible()\u003c/code\u003e method controls the visibility of a block's bubble, setting it to open or closed based on the provided boolean value.\u003c/p\u003e\n"],["\u003cp\u003eIt accepts a single boolean parameter, \u003ccode\u003evisible\u003c/code\u003e, which determines the bubble's visibility state.\u003c/p\u003e\n"],["\u003cp\u003eThe method returns a Promise that resolves when the visibility change is complete.\u003c/p\u003e\n"]]],[],null,["[blockly](./blockly.md) \\\u003e [IHasBubble](./blockly.ihasbubble_interface.md) \\\u003e [setBubbleVisible](./blockly.ihasbubble_interface.setbubblevisible_1_methodsignature.md)\n\nIHasBubble.setBubbleVisible() method\n------------------------------------\n\nSets whether the bubble is open or not.\n\n**Signature:** \n\n setBubbleVisible(visible: boolean): Promise\u003cvoid\u003e;\n\nParameters\n----------\n\n| Parameter | Type | Description |\n|-----------|---------|-------------|\n| visible | boolean | |\n\n**Returns:**\n\nPromise\\\u003cvoid\\\u003e"]]