OnClientBrowserDocumentReady: Difference between revisions
Jump to navigation
Jump to search
(Created page with "__NOTOC__ {{Client_function}} {{New feature/item|3.0150|1.5|| This function injects a keyboard key (state: down). }} ==Parameters== <syntaxhighlight lang="lua"> string url </syntaxhighlight> *'''url...") |
|||
(11 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
{{ | {{Client_event}} | ||
{{New feature/item|3.0150|1.5|| | {{New feature/item|3.0150|1.5|| | ||
This | This event is executed after the web page has been loaded successfully. | ||
}} | }} | ||
Line 12: | Line 12: | ||
==Source== | ==Source== | ||
The [[Element/Browser|browser]] element. | |||
==Example== | ==Example== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
addEventHandler ( "onClientBrowserDocumentReady" , root , | |||
function ( url ) | |||
outputChatBox ( "The page '" .. url .. "' has been successfully loaded.") | |||
end | |||
) | |||
</syntaxhighlight> | </syntaxhighlight> | ||
[[pl:onClientBrowserDocumentReady]] | |||
==See Also== | ==See Also== | ||
{{CEF_events}} | {{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