JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 79
  • Score
    100M100P100Q48534F
  • License MIT

vue 3.0 focus directive

Package Exports

  • vue3-focus

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (vue3-focus) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Vue3 Focus

Version License Downloads Build Status

Vue3 focus directive

Examples

# Install
npm i vue3-focus
<!-- Html -->
<input type="text" v-vue3focus="true">
// Vue3 SCF
import {vue3Focus} from 'vue3-focus'

export default defineComponent({
  directives: {
    'vue3focus': vue3Focus
  },
}
<!-- CDN -->
<script src="https://unpkg.com/vue3-focus@latest/dist/vue3-focus.umd.min.js"></script>