Back
IsTablet
Hello World
Checks if the user device is a tablet.
app.IsTablet() →
Boolean
See Also:
IsChrome
Example - Check Tablet
function
OnStart
(
)
{
tablet
=
app
.
IsTablet
(
)
;
app
.
ShowPopup
(
tablet
,
"Is Tablet:"
)
;
}
Copy
Copy All
Run