סקר מחקר: נשמח לשמוע על החוויה שלך עם Blockly
לפתיחת הסקר
blockly > WidgetDiv > repositionForWindowResize
ממקמים מחדש את הווידג'ט div אם הבעלים שלו אומר לו. אם הבעלים הוא לא שדה, פשוט צריך לוותר ולהסתיר אותו.
Signature:
export declare function repositionForWindowResize(): void;
החזרות:
ריק
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2024-08-22 (שעון UTC).
[null,null,["עדכון אחרון: 2024-08-22 (שעון UTC)."],[[["The `repositionForWindowResize()` function repositions the Blockly widget's div element when the browser window is resized."],["This repositioning is triggered based on the widget's owner, and if the owner is not a field, the widget is hidden."],["The function ensures the widget remains correctly positioned within the visible area after window size adjustments."]]],[]]