แบบสำรวจการวิจัย: บอกให้เราทราบเกี่ยวกับประสบการณ์การใช้งาน Blockly
เริ่มแบบสำรวจ
blockly > การทำให้เป็นอนุกรม > บล็อก > รัฐ > ข้อมูล
พร็อพเพอร์ตี้Serialization.blocks.State.data
ลายเซ็น:
data?: string;
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2024-09-12 UTC
[null,null,["อัปเดตล่าสุด 2024-09-12 UTC"],[[["The `data` property of the `State` interface in Blockly's serialization API is an optional string."],["This property is used to store arbitrary data associated with a block during serialization and deserialization."]]],["The `data` property, within the `serialization.blocks.State` interface, is defined as an optional string (`data?: string`). This indicates that when serializing block states, a string of data can optionally be included as part of the state. This `data` property is specific to the `blocks` namespace within the overall `serialization` module.\n"]]