Stay organized with collections
Save and categorize content based on your preferences.
blockly > IHasBubble
IHasBubble interface
Signature:
export interface IHasBubble
Methods
Method |
Description |
bubbleIsVisible() |
|
getBubble() |
Returns the current IBubble that implementations are managing, or null if there isn't one. Note that this cannot be expected to return null if bubbleIsVisible() returns false, i.e., the nullability of the returned bubble does not necessarily imply visibility. |
setBubbleVisible(visible) |
Sets whether the bubble is open or not. |
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 2025-05-16 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 2025-05-16 UTC."],[[["The `IHasBubble` interface defines objects that can have an associated bubble."],["It includes methods to check bubble visibility (`bubbleIsVisible`) and control its display (`setBubbleVisible`)."]]],["The `IHasBubble` interface defines functionality for objects that can display a bubble. It includes two core methods: `bubbleIsVisible()`, which checks if the bubble is currently shown, and `setBubbleVisible(visible)`, which controls the bubble's visibility by setting it to either open or closed. These methods allow for programmatic management of the display state of an object's associated bubble.\n"]]