OnClientBrowserInputFocusChanged

From Multi Theft Auto: Wiki
Jump to navigation Jump to search

This event is triggered when the input focus inside a browser has changed.

Parameters

bool gainedFocus
  • gainedFocus: true if an input field has been focused, false if it has lost focus.

Source

The browser element.

Example

addEventHandler("onClientBrowserInputFocusChanged", root, function(gainedFocus)
  iprint(source, "gainedFocus:", gainedFocus)
end)

See Also