OnClientBrowserDocumentReady: Difference between revisions

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


==Toffy to gej==
==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