in themes/kube/static/js/kube.js [1879:1908]
Kube.Modal = function(element, options)
{
this.namespace = 'modal';
this.defaults = {
target: null,
show: false,
url: false,
header: false,
width: '600px', // string
height: false, // or string
maxHeight: false,
position: 'center', // top or center
overlay: true,
appendForms: false,
appendFields: false,
animationOpen: 'show',
animationClose: 'hide',
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();
};