blockly > Etkinlikler > CommentCollapse > koş
Daraltma etkinliği çalıştırın.
İmza:
run(forward: boolean): void;
Parametreler
Parametre |
Tür |
Açıklama |
ileri |
boolean |
İleriye çalışırsa doğru, geri çalıştırırsa false (geri alır) değerini alır. |
Şunu döndürür:
geçersiz
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.
[null,null,["Son güncelleme tarihi: 2024-08-29 UTC."],[[["The `run()` method executes a comment collapse or expand action within Blockly."],["It takes a boolean parameter `forward` indicating the direction of the action (true for collapse, false for expand)."],["The method does not return any value and is used to visually update the comment's state in the Blockly workspace."]]],["The `Events.CommentCollapse.run()` method executes a comment collapse event. It accepts a boolean parameter, `forward`, which determines the direction of the operation. When `forward` is true, the collapse event runs; when false, it reverses or undoes the collapse. The method does not return any value.\n"]]