blockly > Options > maxTrashcanContents
Options.maxTrashcanContents property
Signature:
maxTrashcanContents: number;
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.
[null,null,["Last updated 2024-09-18 UTC."],[[["`maxTrashcanContents` is a property within Blockly's Options class that determines the maximum number of blocks allowed in the trashcan."],["It is represented by a number value, defining the trashcan's capacity for holding discarded blocks."]]],["The `maxTrashcanContents` property, part of Blockly's `Options` class, is a numerical value. This property defines the maximum number of items that can be stored within the trashcan. It's used to limit the trashcan's capacity, preventing it from growing indefinitely as items are deleted. The signature indicates its data type is a number.\n"]]