OnWebLoadComplete

From Onset Developer Wiki
OnWebLoadComplete

Type: Event
Context: Client
Introduced: v1.0

Description

Called when a web browser created by CreateWebUI is ready to use.

Syntax

OnWebLoadComplete(web)

Parameters

  • web
    The identifier of the web browser.

Example

AddEvent("OnWebLoadComplete", function(web)
	-- Hide the web until further usage!
	SetWebVisibility(web, WEB_HIDDEN)
end)

See also