RAGE.Ui.HtmlWindow.ExecuteJs
Syntax
void HtmlWindow.ExecuteJs(string code);
Required Arguments
- code: Command line for JS console;
C# Syntax
HtmlWindow CEF;
private void openUI {
CEF = new HtmlWindow("package://cef/index.html");
cef.executeJs("startFunction(\"Argument 1\", \"Argument 2\")");
Rage.Ui.Cursor.Visable = true;
}