mui.isMobileDevice

Indicates if the application is running on a mobile device and on which platform.

Syntaxis:

mui.isMobileDevice.any() -> Returns true if is a mobile device.

mui.isMobileDevice.iOS() -> Returns true if is an iOS device.

mui.isMobileDevice.Android() -> Returns true if is a Android device.

mui.isMobileDevice.Windows() -> Returns true if is a Windows device.

Quick example

if (mui.isMobileDevice.any()) {

mui.alert("App", "Información");

} else {

mui.alert("WebApp");

}

Dependencies

There are no dependencies.

But could exist many and different types

poner esto y esto y y esto