User Tools

Site Tools


hide_widget

Hide Widget


Hides the widget with the specified widget ID (with an optional fade out over a duration of time).

Signature:

hide_widget(widget_id, fade_out_length)
ArgumentDescriptionTypeRequired
widget_idID of the widget (as defined in the Widget Editor).StringYes
fade_out_lengthLength of the fade out effect (in seconds).NumberNo

Example:

hide_widget("my_widget", 1);

Results: The widget with an ID of “my_widget” will be hidden, fading out over 1 second.


Editor Node:

hide_widget.txt · Last modified: 2023/11/06 14:31 by justin