javascriptjqueryvue.jsblockui

How to use blockUI and Vue.js with v-el directive


I was wondering if there is anyway to use the plugin blockUI with Vue.js through v-el directive!

I would like to do something like:

this.$els.myElement.block();
this.$els.myElement.unblock();

Any clue or anything similar easier?


Solution

  • $(this.$els.myElement).block()