แบบสำรวจการวิจัย: บอกให้เราทราบเกี่ยวกับประสบการณ์การใช้งาน Blockly
เริ่มแบบสำรวจ
blockly > การทำให้เป็นอนุกรม > บล็อก > รัฐ > ยุบ
พร็อพเพอร์ตี้Serialization.blocks.State.collapsed
ลายเซ็น:
collapsed?: boolean;
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-09-12 UTC
[null,null,["อัปเดตล่าสุด 2024-09-12 UTC"],[[["The `collapsed` property, optional and of boolean type, indicates whether the block is visually collapsed in the workspace."],["If `true`, the block is collapsed; if `false` or undefined, the block is expanded."],["This property is part of the `State` interface used for serializing and deserializing block states within the Blockly library."]]],["The `collapsed` property, part of the `serialization.blocks.State` interface, is a boolean value. This property indicates whether a block should be in a collapsed state. It is optional, meaning a block's state might not explicitly define if it's collapsed or not. Its value will be `true` if the block should start collapsed, otherwise it will be `false`.\n"]]