Stay organized with collections
Save and categorize content based on your preferences.
blockly > Events > ThemeChange > themeName
Events.ThemeChange.themeName property
The name of the new theme that has been set.
Signature:
themeName?: string;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eThe \u003ccode\u003ethemeName\u003c/code\u003e property of the \u003ccode\u003eBlockly.Events.ThemeChange\u003c/code\u003e class stores the name of the new theme applied.\u003c/p\u003e\n"],["\u003cp\u003eIt is an optional string property, indicating the theme's identifier.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ethemeName\u003c/code\u003e is used within Blockly to identify and apply the corresponding theme visually.\u003c/p\u003e\n"]]],[],null,["[blockly](./blockly.md) \\\u003e [Events](./blockly.events_namespace.md) \\\u003e [ThemeChange](./blockly.events_namespace.themechange_class.md) \\\u003e [themeName](./blockly.events_namespace.themechange_class.themename_property.md)\n\nEvents.ThemeChange.themeName property\n-------------------------------------\n\nThe name of the new theme that has been set.\n\n**Signature:** \n\n themeName?: string;"]]