Stay organized with collections
Save and categorize content based on your preferences.
blockly > Trashcan > contentsIsOpen
Trashcan.contentsIsOpen() method
Returns true if the trashcan contents-flyout is currently open.
Signature:
contentsIsOpen(): boolean;
Returns:
boolean
True if the trashcan contents-flyout is currently open.
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\u003eThis method, \u003ccode\u003econtentsIsOpen()\u003c/code\u003e, checks the visibility state of the trashcan's contents-flyout.\u003c/p\u003e\n"],["\u003cp\u003eIt returns \u003ccode\u003etrue\u003c/code\u003e if the contents-flyout is open and visible, otherwise it returns \u003ccode\u003efalse\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt is a method of the \u003ccode\u003eTrashcan\u003c/code\u003e class in Blockly and has no input parameters.\u003c/p\u003e\n"]]],[],null,["[blockly](./blockly.md) \\\u003e [Trashcan](./blockly.trashcan_class.md) \\\u003e [contentsIsOpen](./blockly.trashcan_class.contentsisopen_1_method.md)\n\nTrashcan.contentsIsOpen() method\n--------------------------------\n\nReturns true if the trashcan contents-flyout is currently open.\n\n**Signature:** \n\n contentsIsOpen(): boolean;\n\n**Returns:**\n\nboolean\n\nTrue if the trashcan contents-flyout is currently open."]]