blockly > Engelle > getInheritedDisabled
Block.getInheritedDisabled() yöntemi
Engellemenin, üst öğeler nedeniyle devre dışı bırakılıp bırakılmadığını öğrenin. Bloklara ait devre dışı bırakılan mülkler dikkate alınmaz.
İmza:
getInheritedDisabled(): boolean;
Şunu döndürür:
boolean
Devre dışıysa doğru değerini alır.
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.
[null,null,["Son güncelleme tarihi: 2024-08-21 UTC."],[[["This method, `getInheritedDisabled()`, determines if a block is disabled based on the disabled status of its parent blocks."],["It only considers the disabled status inherited from parent blocks, ignoring the block's own `disabled` property."],["The method returns `true` if the block is disabled due to its parent(s), and `false` otherwise."]]],[]]