diff options
Diffstat (limited to 'client/components/mixins/perfectScrollbar.js')
-rw-r--r-- | client/components/mixins/perfectScrollbar.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/client/components/mixins/perfectScrollbar.js b/client/components/mixins/perfectScrollbar.js new file mode 100644 index 00000000..06e8aedd --- /dev/null +++ b/client/components/mixins/perfectScrollbar.js @@ -0,0 +1,6 @@ +Mixins.PerfectScrollbar = BlazeComponent.extendComponent({ + onRendered: function() { + var component = this.mixinParent(); + Ps.initialize(component.find('.js-perfect-scrollbar')); + } +}); |