InjectBrowserMouseUp: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (Link to the Romanian translation of this page added.) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 9: | Line 9: | ||
bool injectBrowserMouseUp ( browser webBrowser, string mouseButton ) | bool injectBrowserMouseUp ( browser webBrowser, string mouseButton ) | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{OOP||[[Element/Browser|browser]]:injectMouseUp | {{OOP||[[Element/Browser|browser]]:injectMouseUp}} | ||
===Required arguments=== | ===Required arguments=== | ||
Line 31: | Line 31: | ||
==See also== | ==See also== | ||
{{CEF_functions}} | {{CEF_functions}} | ||
[[hu:injectBrowserMouseUp]] | |||
[[RO:injectBrowserMouseUp]] |
Latest revision as of 12:22, 8 April 2020
This function injects a mouse click (state: up).
Syntax
bool injectBrowserMouseUp ( browser webBrowser, string mouseButton )
OOP Syntax Help! I don't understand this!
- Method: browser:injectMouseUp(...)
Required arguments
- webBrowser: The web browser
- mouseButton: The mouse button (Possible values: left, middle, right)
Returns
Returns true if the click was successfully injected, false otherwise.
Example
addEventHandler("onClientClick", root, function(button, state) if state == "down" then injectBrowserMouseDown(browser, button) else injectBrowserMouseUp(browser, button) end end )
See also
- canBrowserNavigateBack
- canBrowserNavigateForward
- createBrowser
- executeBrowserJavascript
- focusBrowser
- getBrowserProperty
- getBrowserSettings
- getBrowserSource
- getBrowserTitle
- getBrowserURL
- injectBrowserMouseDown
- injectBrowserMouseMove
- injectBrowserMouseUp
- injectBrowserMouseWheel
- isBrowserDomainBlocked
- isBrowserFocused
- isBrowserLoading
- isBrowserRenderingPaused
- loadBrowserURL
- navigateBrowserBack
- navigateBrowserForward
- reloadBrowserPage
- requestBrowserDomains
- resizeBrowser
- setBrowserAjaxHandler
- setBrowserProperty
- setBrowserRenderingPaused
- setBrowserVolume
- toggleBrowserDevTools