Webportal v1

embedded apps

API Reference - HMI.Settings.themeSet

HMI.Settings.themeSet

Type Event
wave 2
wave 3
wave 4

Event triggered when the theme is changed.

Example

1
2
3
4
5
6
7
8
9
try{// HMI.Settings
	if ((typeof HMI !== "undefined") && (typeof HMI.Settings !== "undefined") && (typeof HMI.Settings.addEventListener !== "undefined")) {
		HMI.Settings.addEventListener("themeSet", function(){
			Alert("The theme was changed");
		});
	}
} catch(e) {
	DealWithHMISettingsError(e);
}

Appeared in Software version 30.11.04.10