New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@vuejs-tips/v-autofocus

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vuejs-tips/v-autofocus

Vue autofocus directive

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

Vue autofocus input directive

size

Demo

https://unpkg.com/@vuejs-tips/v-autofocus/dist/demo.html

https://codesandbox.io/s/v-autofocus-bbg2z?file=/src/App.vue

Usage

<template>
  <div>
    <input v-autofocus />
  </div>
</template>

<script>
import autofocus from "@vuejs-tips/v-autofocus"

export default {
  directives: {
    autofocus
  }
}
</script>

Or importing globally as a plugin:

import autofocus from "@vuejs-tips/v-autofocus"
Vue.use(autofocus)

FAQs

Package last updated on 22 Apr 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts