in themes/kube/static/js/kube.js [910:934]
Kube.Offcanvas = function(element, options)
{
this.namespace = 'offcanvas';
this.defaults = {
target: null, // selector
push: true, // boolean
width: '250px', // string
direction: 'left', // string: left or right
toggleEvent: 'click',
clickOutside: true, // boolean
animationOpen: 'slideInLeft',
animationClose: 'slideOutLeft',
callbacks: ['open', 'opened', 'close', 'closed']
};
// Parent Constructor
Kube.apply(this, arguments);
// Services
this.utils = new Kube.Utils();
this.detect = new Kube.Detect();
// Initialization
this.start();
};