definicao de layout
This commit is contained in:
25
public/assets/js/scrollable/scrollable-custom.js
Normal file
25
public/assets/js/scrollable/scrollable-custom.js
Normal file
@@ -0,0 +1,25 @@
|
||||
'use strict';
|
||||
var scrollable_custom = {
|
||||
init: function() {
|
||||
$(".vertical-scroll").perfectScrollbar({
|
||||
suppressScrollX: !0,
|
||||
wheelPropagation: !0
|
||||
}), $(".horizontal-scroll").perfectScrollbar({
|
||||
suppressScrollY: !0,
|
||||
wheelPropagation: !0
|
||||
}), $(".both-side-scroll").perfectScrollbar({
|
||||
wheelPropagation: !0
|
||||
}), $(".visible-scroll").perfectScrollbar({
|
||||
wheelPropagation: !0
|
||||
}), $(".scrollbar-margins").perfectScrollbar({
|
||||
wheelPropagation: !0
|
||||
}), $(".click-drag-handler").perfectScrollbar({
|
||||
handlers: ["click-rail", "drag-scrollbar"],
|
||||
wheelPropagation: !0
|
||||
})
|
||||
}
|
||||
};
|
||||
(function($) {
|
||||
"use strict";
|
||||
scrollable_custom.init();
|
||||
})(jQuery);
|
||||
Reference in New Issue
Block a user