OnClientBrowserDocumentReady: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
Line 16: Line 16:
==Example==  
==Example==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
todo
addEventHandler ( "onClientBrowserDocumentReady" , root ,
function ( url )
outputChatBox ( "#FFFC00The page"  .. url ..  "has been successfully loaded." )
end
)
</syntaxhighlight>
</syntaxhighlight>


==See Also==
==See Also==
{{CEF_events}}
{{CEF_events}}

Revision as of 16:17, 26 May 2015

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

Parameters

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

Source

todo

Example

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

See Also