Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
mounted() {
this.dropdown = UIkit.dropdown(this.$el.querySelector('*[uk-dropdown]'));
},
methods: {
componentDidMount () {
if (this.drop) {
UIkit.dropdown(this.drop, {
mode: this.props.mode,
pos: this.props.pos,
offset: this.props.offset
})
}
}
mounted() {
this.dropdown = UIkit.dropdown(this.$el.querySelector('.transitions-dropdown'), {
mode: 'click',
delayHide: 0
});
},
methods: {
selectGroup(group) {
this.group = group;
if(this.$refs.viewGroupSelect) {
UIkit.dropdown(this.$refs.viewGroupSelect).hide();
}
},