Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
ready () {
const vm = this
// in our impelmentation the switcher
// and connect change sides
UI.switcher(this.nav, UI.Utils.options({
connect: this.$el,
animation: this.animation,
swiping: this.swiping
}))
// listen to nav changes
.on('show.uk.switcher', function (event, area) {
vm.$emit('change')
})
}
}