Webportal v1

embedded apps

API Reference - Device.GetHMIFocus()

Device.GetHMIFocus()

Type Method
Min Privacy Full
wave 2
wave 3
wave 4

Device.GetHMIFocus()

Description Get the focus of the HMI
Response boolean True if focus is on portal, else False
Parameter Void

Example

1
2
3
4
5
if (Device.GetHMIFocus() === False) {
	//focus is not on portal
} else {
	//focus is on portal
}

Appeared in Software version 30.11.04.10