import { Directive } from 'vue' /** * A simple directive to set focus into an input field when it's shown. */ export const focus: Directive = { created: (el: HTMLElement) => el.focus() }