Back

GetScreenWidth

GetScreenWidth returns the width of the device screen in pixels.

app.GetScreenWidth( options ) -> number - pixel

Example - Example



function OnStart()
{
    width = app.GetScreenWidth();
    app.ShowPopup( width );
}
    Copy     Copy All       Run      

unknown