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..."
 
28days (talk | contribs)
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|__EDIT_ME__}}
{{FuncDescription|Used to set the web UI visibility mode.}}


{{FuncSyntax|SetWebVisibility(web, visibility)}}
{{FuncSyntax|SetWebVisibility(web, visibility)}}


{{FuncParameters}}
{{FuncParameters}}
{{FuncParam|web|__EDIT_ME__}}
{{FuncParam|web|The web identifier}}
{{FuncParam|visibility|__EDIT_ME__}}
{{FuncParam|visibility|The [[WebVisibility]] enum}}


{{FuncReturnValue|__EDIT_ME__}}
{{FuncReturnValue|None}}


== Example ==
== Example ==
__EDIT_ME__
<syntaxhighlight lang="Lua">
SetWebVisibility(web, WEB_HIDDEN) -- hides it completely
</syntaxhighlight>


{{RelatedFunctions}}
{{RelatedFunctions}}
__EDIT_ME__
{{WebFunctions}}

Latest revision as of 15:14, 7 January 2020

SetWebVisibility

Type: Function
Context: Client
Introduced: v1.0

Description

Used to set the web UI visibility mode.

Syntax

SetWebVisibility(web, visibility)

Parameters

Return Value

  • None

Example

SetWebVisibility(web, WEB_HIDDEN) -- hides it completely

See also