Back

AppExec

Hello World

Executes some code in the main app.

gfx.AppExec( js )

Example

cfg.Game;

function OnLoad()
{
    gfx.AppExec( "app.ShowPopup('Hello from Game')");
}

function OnReady() {}
Copy All       Run      
string: javascript code