blockly > WidgetDiv > hideIfOwner
Widget'ı kaldırın ve belirtilen nesne tarafından kullanılıyorsa div'i gizleyin.
İmza:
export declare function hideIfOwner(oldOwner: unknown): void;
Parametreler
Parametre |
Tür |
Açıklama |
oldOwner |
bilinmiyor |
Bu kapsayıcıyı kullanan nesne. |
Ş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-22 UTC.
[null,null,["Son güncelleme tarihi: 2024-08-22 UTC."],[[["`hideIfOwner()` removes the WidgetDiv and hides its associated HTML element if it's currently being used by a specific object."],["This function takes one argument: `oldOwner`, which represents the object that was previously utilizing the WidgetDiv."],["The function does not return any value (`void`)."]]],[]]