OnClientBrowserDocumentReady: Difference between revisions
Jump to navigation
Jump to search
Line 5: | Line 5: | ||
}} | }} | ||
== | ==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
- onClientBrowserCreated
- onClientBrowserCursorChange
- onClientBrowserDocumentReady
- onClientBrowserInputFocusChanged
- onClientBrowserLoadingFailed
- onClientBrowserLoadingStart
- onClientBrowserNavigate
- onClientBrowserPopup
- onClientBrowserResourceBlocked
- onClientBrowserTooltip
- onClientBrowserWhitelistChange