HU/injectBrowserMouseDown: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
{{Client function}} | {{Client function hu}} | ||
{{New feature/item|3.0150|1.5|| | {{New feature/item|3.0150|1.5|| | ||
This function injects a mouse click (state: down). | This function injects a mouse click (state: down). | ||
}} | }} | ||
== | ==Szintaxis== | ||
<syntaxhighlight lang="lua"> | <syntaxhighlight lang="lua"> | ||
bool injectBrowserMouseDown ( browser webBrowser, string mouseButton ) | bool injectBrowserMouseDown ( browser webBrowser, string mouseButton ) | ||
Line 11: | Line 11: | ||
{{OOP||[[Element/Browser|browser]]:injectMouseDown}} | {{OOP||[[Element/Browser|browser]]:injectMouseDown}} | ||
=== | ===Kötelező argumentumok=== | ||
*'''webBrowser:''' The web browser | *'''webBrowser:''' The web browser | ||
*'''mouseButton:''' The mouse button (Possible values: ''left'', ''middle'', ''right'') | *'''mouseButton:''' The mouse button (Possible values: ''left'', ''middle'', ''right'') | ||
=== | ===Visszaadott érték=== | ||
Returns ''true'' if the click was successfully injected, ''false'' otherwise. | Returns ''true'' if the click was successfully injected, ''false'' otherwise. | ||
== | ==Példa== | ||
<syntaxhighlight lang="lua">addEventHandler("onClientClick", root, | <syntaxhighlight lang="lua">addEventHandler("onClientClick", root, | ||
function(button, state) | function(button, state) | ||
Line 29: | Line 29: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== | ==Lásd még== | ||
{{CEF_functions hu}} | {{CEF_functions hu}} | ||
[[en:injectBrowserMouseDown]] | [[en:injectBrowserMouseDown]] | ||
==Fordította== | |||
* Surge |
Revision as of 17:15, 10 August 2018
This function injects a mouse click (state: down).
Szintaxis
bool injectBrowserMouseDown ( browser webBrowser, string mouseButton )
OOP Syntax Help! I don't understand this!
- Method: browser:injectMouseDown(...)
Kötelező argumentumok
- webBrowser: The web browser
- mouseButton: The mouse button (Possible values: left, middle, right)
Visszaadott érték
Returns true if the click was successfully injected, false otherwise.
Példa
addEventHandler("onClientClick", root, function(button, state) if state == "down" then injectBrowserMouseDown(browser, button) else injectBrowserMouseUp(browser, button) end end)
Lásd még
- HU/canBrowserNavigateBack
- HU/canBrowserNavigateForward
- HU/createBrowser
- HU/executeBrowserJavascript
- HU/focusBrowser
- HU/getBrowserProperty
- HU/getBrowserSettings
- HU/getBrowserSource
- HU/getBrowserTitle
- HU/getBrowserURL
- HU/injectBrowserMouseDown
- HU/injectBrowserMouseMove
- HU/injectBrowserMouseUp
- HU/injectBrowserMouseWheel
- HU/isBrowserDomainBlocked
- HU/isBrowserFocused
- HU/isBrowserLoading
- HU/loadBrowserURL
- HU/navigateBrowserBack
- HU/navigateBrowserForward
- HU/reloadBrowserPage
- HU/requestBrowserDomains
- HU/resizeBrowser
- HU/setBrowserAjaxHandler
- HU/setBrowserProperty
- HU/setBrowserRenderingPaused
- HU/setBrowserVolume
- HU/toggleBrowserDevTools
GUI Függvények
Fordította
- Surge