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.
[null,null,["Last updated 2025-05-16 UTC."],[],["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"],null,[]]