Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
blockly > Etkinlikler > ThemeChange > (kurucu)
Events.ThemeChange.(constructor)
ThemeChange
sınıfının yeni bir örneğini oluşturur
İmza:
constructor(opt_themeName?: string, opt_workspaceId?: string);
Parametreler
Parametre |
Tür |
Açıklama |
opt_themeName |
dize |
(İsteğe bağlı) Tema adı. Boş bir etkinlik için tanımlanmadı. |
opt_workspaceId |
dize |
(İsteğe bağlı) Bu etkinliğin çalışma alanı tanımlayıcısı. unutmayın. Boş bir etkinlik için tanımlanmadı. |
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: 2025-07-25 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 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"]]