Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
this.Scroll = Scrollbar.init(document.querySelector('.scrollarea'), {
delegateTo: document,
continuousScrolling : false,
overscrollEffect: 'bounce',
damping: 0.05,
plugins: {
horizontalScroll: {
events: [/wheel/],
},
},
})
this.Scroll.track.xAxis.element.remove()
this.Scroll.track.yAxis.element.remove()
Scrollbar.detachStyle()
this.updateScrollBar()
this.scene = new Scene(this.$els.scene)
}