Back

GetTop

Hello World

Returns the upper border distance from the app display to the device screen as height relative float or in pixels with the px option.

app.GetTop( options ) → Number: fraction (0..1)

Example - GetTop

function OnStart()
{
    var top = app.GetTop();
    app.Alert(top, "Top");
}
Copy All       Run      
String: “px”