Chico UI - Doc

v1.0.0

Mixins Collapsible

Description

The Collapsible class gives to widgets the ability to shown or hidden its container.

Events

'hide'



    

Event emitted when the widget container is hidden.

// Subscribe to "hide" event.
widget.on('hide', function () {
 // Some code here!
});

'show'



    

Event emitted when the widget container is shown.

// Subscribe to "show" event.
widget.on('show', function () {
 // Some code here!
});