OnClientBrowserCreated: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ {{Client event}} {{New feature/item|3.0150|1.5|| This event is triggered when the CEF browser instance has been created. If you want to load a specific website right...")
 
No edit summary
Line 11: Line 11:


==Source==
==Source==
The [[Element/Browser||browser]] element
The [[Element/Browser|browser]] element


==Example==  
==Example==  

Revision as of 16:18, 26 May 2015

This event is triggered when the CEF browser instance has been created. If you want to load a specific website right after creating the browser (using createBrowser or guiCreateBrowser), this event will be the convenient place.


[[{{{image}}}|link=|]] Note: Calling loadBrowserURL right after createBrowser will not work normally due to the nature of the asynchronous browser interface.

Parameters

None

Source

The browser element

Example

TODO

See Also