blockly > Çöp Kutusu > autoHide
Trashcan.autohide() yöntemi
Bileşeni gizler. WorkspaceSvg.hideChaff'ta çağrıldı.
İmza:
autoHide(onlyClosePopups: boolean): void;
Parametreler
Parametre |
Tür |
Açıklama |
onlyClosePopups |
boolean |
Yalnızca pop-up'ların kapatılıp kapatılmayacağı. Bu doğruysa çıkışlar kapatılmamalıdı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-09-12 UTC.
[null,null,["Son güncelleme tarihi: 2024-09-12 UTC."],[[["The `autoHide` method hides the trashcan component within a Blockly workspace."],["This method is triggered by `WorkspaceSvg.hideChaff` and optionally allows for closing only popups while keeping flyouts open."],["`autoHide` takes a boolean parameter, `onlyClosePopups`, to control whether only popups are closed or if flyouts are closed as well."]]],["The `Trashcan.autoHide()` method hides the trashcan component. It accepts a boolean parameter, `onlyClosePopups`, which determines whether only popups should be closed or if flyouts should also be closed. If `onlyClosePopups` is true, flyouts will remain open. This method is called within `WorkspaceSvg.hideChaff` and does not return any value.\n"]]