SetWebVisibility: Difference between revisions
From Onset Developer Wiki
Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|SetWebVisibility(web, visibility)}} {{FuncParameters}} {{FuncParam|web|__EDIT_ME__}} {{FuncParam|v..." |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Info|Function|Client|1.0}} | {{Info|Function|Client|1.0}} | ||
{{FuncDescription| | {{FuncDescription|Used to set the web UI visibility mode.}} | ||
{{FuncSyntax|SetWebVisibility(web, visibility)}} | {{FuncSyntax|SetWebVisibility(web, visibility)}} | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{FuncParam|web| | {{FuncParam|web|The web identifier}} | ||
{{FuncParam|visibility| | {{FuncParam|visibility|The [[WebVisibility]] enum}} | ||
{{FuncReturnValue| | {{FuncReturnValue|None}} | ||
== Example == | == Example == | ||
<syntaxhighlight lang="Lua"> | |||
SetWebVisibility(web, WEB_HIDDEN) -- hides it completely | |||
</syntaxhighlight> | |||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
{{WebFunctions}} |
Latest revision as of 15:14, 7 January 2020
Description
Used to set the web UI visibility mode.
Syntax
SetWebVisibility(web, visibility)
Parameters
- web
The web identifier - visibility
The WebVisibility enum
Return Value
- None
Example
SetWebVisibility(web, WEB_HIDDEN) -- hides it completely