קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
blockly > אירועים > ThemeChange > (constructor)
Events.ThemeChange.(constructor)
יצירה של מופע חדש של המחלקה ThemeChange
Signature:
constructor(opt_themeName?: string, opt_workspaceId?: string);
פרמטרים
| פרמטר |
סוג |
תיאור |
| opt_themeName |
מחרוזת |
(אופציונלי) שם העיצוב. לא מוגדר אירוע ריק. |
| opt_workspaceId |
מחרוזת |
(אופציונלי) מזהה סביבת העבודה של האירוע הזה. אירוע. לא מוגדר אירוע ריק. |
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-25 (שעון UTC)."],[],["The `ThemeChange` class constructor creates a new instance, representing a theme change event. It accepts two optional string parameters: `opt_themeName`, which specifies the new theme's name (undefined for a blank event), and `opt_workspaceId`, which identifies the workspace associated with the event (also undefined for a blank event). The constructor's function is to initialize a ThemeChange event.\n"]]