Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
blockly > blockRendering > IPathObject > updateMovable
blockRendering.IPathObject.updateMovable() yöntemi
Blokların taşınabilir olduğunu gösteren stil ekleyin veya kaldırın.
İmza:
updateMovable(enabled: boolean): void;
Parametreler
Parametre |
Tür |
Açıklama |
etkin |
boolean |
|
Ş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-21 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-21 UTC."],[[["The `blockRendering.IPathObject.updateMovable()` method is used to visually indicate whether a block is movable or not."],["It takes a single boolean parameter, `enabled`, which determines if the movable styling should be applied or removed."],["When called, this method updates the visual representation of the path object, without returning any value."]]],["The `updateMovable` method, part of the `IPathObject` interface, manages the visual styling of a block to indicate its movability. It accepts a boolean parameter, `enabled`, which determines whether the movable styling should be added or removed. The method's function is to adjust the block's appearance based on its movability state, and returns nothing.\n"]]