封鎖 >IHasBubble >bubbleIsVisible
IHasBubble.bubbleIsVisible() 方法
Signature:
bubbleIsVisible(): boolean;
傳回:
布林值
如果對話框目前為開啟狀態,傳回「是」,否則傳回「否」。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-10-14 (世界標準時間)。
[null,null,["上次更新時間:2024-10-14 (世界標準時間)。"],[[["The `bubbleIsVisible()` method, part of the `IHasBubble` interface in Blockly, checks the visibility status of a bubble."],["It returns `true` if the bubble is visible (open) and `false` if it's hidden (closed), providing a simple way to determine the bubble's current state."]]],["The `bubbleIsVisible()` method, part of the `IHasBubble` interface, returns a boolean value. This method checks the visibility state of a bubble element. It returns `true` if the bubble is currently open and visible, and `false` if the bubble is closed or hidden. No parameters are required for this method to function.\n"]]