סקר מחקר: נשמח לשמוע על החוויה שלך עם Blockly
לפתיחת הסקר
blockly > אשפה > autoHide
שיטת Trashcan.autoהסתרה()
הסתרת הרכיב. שיחה ב-WorkspaceSvg.muteChaff.
Signature:
autoHide(onlyClosePopups: boolean): void;
פרמטרים
פרמטר |
סוג |
תיאור |
onlyClosePopups |
בוליאני |
האם יש לסגור רק חלונות קופצים. אם זה נכון, אסור לסגור את נמלי התעופה. |
החזרות:
ריק
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-09-12 (שעון UTC).
[null,null,["עדכון אחרון: 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"]]