vue-v-autofocus

1.0.1 • Public • Published

directive for autofocus

html or jsx

you can use vue directive like 'v-autofocus'

<input v-autofocus/>
es6
import Vue from 'vue'
import autofocus from 'vue-v-autofocus'
Vue.use(autofocus)
new Vue({
    el:'#app'
})
es5
const Vue=require('vue');
const autofocus=require('vue-v-autofocus')
Vue.use(autofocus)
new Vue({
    el:'#app'
})

Readme

Keywords

none

Package Sidebar

Install

npm i vue-v-autofocus

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

845 B

Total Files

3

Last publish

Collaborators

  • baiyupeng