ToggleBrowserDevTools: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ {{Client function}} {{New feature/item|3.0150|1.5|| This function toggles the visibility of the developer tools pane. }} ==Syntax== <syntaxhighlight lang="lua"> bool toggleBrowser...")
 
m (add oop variable)
Line 9: Line 9:
bool toggleBrowserDevTools ( browser webBrowser, bool visible )
bool toggleBrowserDevTools ( browser webBrowser, bool visible )
</syntaxhighlight>
</syntaxhighlight>
{{OOP||[[browser]]:toggleBrowserDevTools}}
{{OOP||[[browser]]:toggleBrowserDevTools|devTools}}


===Required Arguments===
===Required Arguments===

Revision as of 14:00, 20 February 2016

This function toggles the visibility of the developer tools pane.

Syntax

bool toggleBrowserDevTools ( browser webBrowser, bool visible )

OOP Syntax Help! I don't understand this!

Method: browser:toggleBrowserDevTools(...)
Variable: .devTools


Required Arguments

  • webBrowser: The browser
  • visible: true to show the tools, false to hide

Returns

Returns true if the visibility was successfully toggled, false if an error occurred

Example

Accessories-text-editor.png Script Example Missing Function ToggleBrowserDevTools needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.
-- TODO


See also