You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
733 B
26 lines
733 B
9 years ago
|
/*!
|
||
|
* remark (http://getbootstrapadmin.com/remark)
|
||
|
* Copyright 2016 amazingsurge
|
||
|
* Licensed under the Themeforest Standard Licenses
|
||
|
*/
|
||
|
$.components.register("slidePanel", {
|
||
|
mode: "manual",
|
||
|
defaults: {
|
||
|
closeSelector: '.slidePanel-close',
|
||
|
mouseDragHandler: '.slidePanel-handler',
|
||
|
loading: {
|
||
|
template: function(options) {
|
||
|
return '<div class="' + options.classes.loading + '">' +
|
||
|
'<div class="loader loader-default"></div>' +
|
||
|
'</div>';
|
||
|
},
|
||
|
showCallback: function(options) {
|
||
|
this.$el.addClass(options.classes.loading + '-show');
|
||
|
},
|
||
|
hideCallback: function(options) {
|
||
|
this.$el.removeClass(options.classes.loading + '-show');
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
});
|