OnClientBrowserDocumentReady: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Undo revision 50309 by Tofik (talk))
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
}}
}}


TWOJA STARa
==Parameters==
<syntaxhighlight lang="lua">
string url
</syntaxhighlight>
*'''url:''' the url of the web page loaded.
 
==Source==
The [[Element/Browser|browser]] element.
 
==Example==
<syntaxhighlight lang="lua">
addEventHandler ( "onClientBrowserDocumentReady" , root ,
function ( url )
outputChatBox ( "The page '"  .. url ..  "' has been successfully loaded.")
end
)
</syntaxhighlight>
 
[[pl:onClientBrowserDocumentReady]]
 
==See Also==
{{CEF_events}}

Latest revision as of 13:53, 11 January 2017

This event is executed after the web page has been loaded successfully.

Parameters

string url
  • url: the url of the web page loaded.

Source

The browser element.

Example

addEventHandler ( "onClientBrowserDocumentReady" , root , 
	function ( url ) 
		outputChatBox ( "The page '"  .. url ..  "' has been successfully loaded.") 
	end 
)

See Also