— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
Hides the widget with the specified widget ID (with an optional fade out over a duration of time).
hide_widget(widget_id, fade_out_length)
Argument | Description | Type | Required |
---|---|---|---|
widget_id | ID of the widget (as defined in the Widget Editor). | String | Yes |
fade_out_length | Length of the fade out effect (in seconds). | Number | No |
hide_widget("my_widget", 1);
Results: The widget with an ID of “my_widget” will be hidden, fading out over 1 second.