Survei Riset: Ceritakan pengalaman Anda dengan Blockly
Mulai survei
blockly > serialisasi > pemblokiran > Negara Bagian > diciutkan
Properti serialization.blocks.State.ciutkan
Tanda Tangan:
collapsed?: boolean;
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2024-09-12 UTC.
[null,null,["Terakhir diperbarui pada 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"]]