Survei Riset: Ceritakan pengalaman Anda dengan Blockly
Mulai survei
blockly > Acara > BlockCreateJson
Antarmuka Events.BlockCreateJson
Tanda Tangan:
export interface BlockCreateJson extends BlockBaseJson
Memperluas: BlockBaseJson
Properti
Properti |
Pengubah |
Jenis |
Deskripsi |
ids |
|
{i>string<i}[] |
|
json |
|
objek |
|
recordUndo? |
|
boolean |
(Opsional) |
xml |
|
string |
|
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-10-14 UTC.
[null,null,["Terakhir diperbarui pada 2024-10-14 UTC."],[[["The `BlockCreateJson` interface extends the `BlockBaseJson` interface and is used for creating blocks from JSON."],["It includes properties like `ids`, `json`, `recordUndo` (optional), and `xml` to define the block's characteristics and data."],["The `ids` property is an array of strings representing the block IDs, while `json` is an object holding the block's JSON representation."],["`xml` stores the block's XML representation, and `recordUndo` indicates whether the creation should be recorded for undo/redo functionality."]]],[]]