Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
switch() {
toggleClass(this.instance.classes.DROPDOWNOPEN, this.$dropdown)
}
reverse() {
this.chunks.reverse()
this.handleState()
this.chunks.forEach(chunk => {
chunk.moveTo(chunk.movePosition)
})
toggleClass(this.classes.REVERSEMIN, this.TOOLBAR.$reverse)
this.trigger(EVENTS.REVERSE)
}
reverse() {
this.chunks.reverse()
this.model.handleState()
this.chunks.forEach(chunk => {
chunk.moveTo(chunk.movePosition)
})
toggleClass(this.classes.REVERSEMIN, this.TOOLBAR.$reverse)
this.trigger(EVENTS.REVERSE)
}