OnClientBrowserNavigate: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
No edit summary
Line 10: Line 10:
</syntaxhighlight>
</syntaxhighlight>
*'''targetURL:'''
*'''targetURL:'''
*'''isMainFrame:'''
*'''isblocked:'''




Line 17: Line 17:


==Example==  
==Example==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">todo</syntaxhighlight>
addEventHandler ( "onClientBrowserNavigate" , root ,
function ( targetURL , isMainFrame )
if isMainFrame then
outputChatBox ( "Navigating you to a new page"  .. targetURL )
end
end
)</syntaxhighlight>


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

Revision as of 15:43, 28 May 2015