Skip to content

Vue.js custom directives(Vue 自定义指令集)

Notifications You must be signed in to change notification settings

E2875888382/Vue-directive

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vue-directive (Vue2.0自定义指令集)

name desc value
v-permission 权限控制 Boolean || Function
v-copy 点击设置粘贴板 { text: '', click: ()=> {}, empty: ()=> {} }
v-visible 监听dom曝光,通过传入show可以实现lazy-load { show: ()=> {}, hide: ()=> {}, once: false }
v-focus 自动聚焦 null

Project setup

yarn install

Compiles and hot-reloads for development

yarn serve

Compiles and minifies for production

yarn build

Customize configuration

See Configuration Reference.

About

Vue.js custom directives(Vue 自定义指令集)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published