+-
v-blur
Vue directive to blur a specific element dynamically
Install $ npm install --save v-blur $ yarn add v-blur Use import Vue from 'vue' import vBlur from 'v-blur' Vue.use(vBlur) <script> export default { data () { return { isBlurred: true } } } }; </script> <template> <div v-blur="isBlurred"></div> </template> Example
点击查看更多相关文章
转载注明原文:模糊元素的vue指令 – v-blur - 乐贴网