resources/assets/js/directives/focus.ts

Summary

Maintainability
A
0 mins
Test Coverage
import { Directive } from 'vue'

export const focus: Directive = {
  mounted: (el: HTMLElement) => el.focus()
}