— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
— — — — —
This is an old revision of the document!
Shows the widget with the specified widget ID (with an optional fade in over a duration of time).
show_widget(widget_id, fade_duration)
Argument | Description | Type | Required |
---|---|---|---|
widget_id | ID of the widget (as defined in the Widget Editor). | String | Yes |
fade_duration | Length of the fade in effect (in seconds). | Number | No |
show_widget("my_widget", 1);
Results: The widget with an ID of “my_widget” will be shown, fading in over 1 second.