Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
blockly > Etkinlikler > CommentCreate
Dinleyicilere bir çalışma alanı yorumunun oluşturulduğunu bildirir.
İmza:
export declare class CommentCreate extends CommentBase
Uzalar: CommentBase
Markalar
Özellikler
Özellik |
Değiştiriciler |
Tür |
Açıklama |
json? |
|
comments.State |
(İsteğe bağlı) Oluşturulan çalışma alanı yorumunun JSON gösterimi. |
tür |
|
dize |
|
xml? |
|
Öğe | DocumentFragment |
(İsteğe bağlı) Oluşturulan çalışma alanı yorumunun XML temsili. |
Yöntemler
Yöntem |
Değiştiriciler |
Açıklama |
run(ileri) |
|
Bir oluşturma etkinliği çalıştırın. |
toJson() |
|
Etkinliği JSON olarak kodlayın. |
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-08-29 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2024-08-29 UTC."],[[["The `Events.CommentCreate` class in Blockly notifies listeners when a new workspace comment is created."],["It provides properties like `json` and `xml` to access the comment's representation in different formats."],["The `run` method executes the creation event, while `toJson` encodes it as JSON for storage or transmission."],["This class extends the `CommentBase` class and includes a constructor to create new instances."]]],[]]