RAGE.Ui.HtmlWindow.Active

From RAGE Multiplayer Wiki
Revision as of 02:10, 4 January 2025 by Sander (talk | contribs) (Add link to package protocol)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Syntax

bool HtmlWindow.Active { get; set; }


C# Syntax

HtmlWindow CEF = new HtmlWindow("http://package/index.html");

private void openUI() {
    CEF.Active = true;
    Rage.Ui.Cursor.Visible = true;
}

private void closeUI() {
    CEF.Active = false;
    Rage.Ui.Cursor.Visible = false;
}


See Package Protocol for more info on the package:// url.