קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
blockly > Menu
מחלקת תפריט בסיסית.
Signature:
export declare class Menu
יצרנים
מאפיינים
נכס |
גורמי שינוי |
סוג |
תיאור |
openingCoords |
|
Coordinate | null |
הקואורדינטות של אירוע pointerdown שגרם לפתיחת התפריט הזה. האירוע הזה משמש כדי למנוע הפעלה מיידית של פריט תפריט כתוצאה מאירוע pointerup בעקבות קליק פשוט. |
Methods
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-25 (שעון UTC)."],[],["The `Menu` class provides a basic menu structure. Key actions include constructing a new `Menu` instance, which is done via the constructor. The class has a `openingCoords` property to track the coordinates of the initiating mouse event. It includes methods to `dispose` of the menu and `render` it, which involves creating the necessary DOM elements.\n"]]