blockly > BlocklyOptions > çöp kutusu
BlocklyOptions.trashcan mülkü
İmza:
trashcan?: boolean;
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-10-14 UTC.
[null,null,["Son güncelleme tarihi: 2024-10-14 UTC."],[[["`trashcan` is an optional property within BlocklyOptions that determines the visibility of the trashcan."],["Setting `trashcan` to true or leaving it undefined displays the trashcan, which allows users to delete blocks, while setting it to false hides it."]]],["The `trashcan` property, part of `BlocklyOptions`, is a boolean value. It determines whether a trashcan is displayed within the Blockly interface. Setting `trashcan` to `true` will show the trashcan, allowing users to delete blocks by dragging them into it. When `trashcan` is set to `false` the trashcan will not be displayed in the Blockly interface.\n"]]