{"library":"vue-autofocus-directive","type":"library","category":null,"description":"The `vue-autofocus-directive` package provides a straightforward custom directive for Vue.js applications, designed to automatically apply focus to elements upon page load or when components are rendered. Based directly on the Vue 2 custom directive tutorial, this package is explicitly compatible with Vue 2.x environments. Its current stable version is 1.0.4, with no recent updates, indicating a mature yet static codebase. The package's primary differentiator is its minimalist approach, offering a direct implementation of the autofocus pattern without introducing complex abstractions. While effective for existing Vue 2 projects, it lacks official support for Vue 3, necessitating alternative strategies or manual adaptation for newer Vue applications. Developers should be aware of browser-specific limitations, particularly regarding mobile Safari's handling of the autofocus attribute.","language":"javascript","status":"abandoned","version":"1.0.4","tags":["javascript","vue","autofocus"],"last_verified":"Wed May 27","install":[{"cmd":"npm install vue-autofocus-directive","imports":["import autofocus from 'vue-autofocus-directive';","const autofocus = require('vue-autofocus-directive');"]},{"cmd":"yarn add vue-autofocus-directive","imports":[]},{"cmd":"pnpm add vue-autofocus-directive","imports":[]}],"homepage":null,"github":"https://github.com/byteboomers/vue-autofocus-directive","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/vue-autofocus-directive","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/vue-autofocus-directive/compatibility"}}