mirror of
https://github.com/koel/koel
synced 2024-12-22 10:33:16 +00:00
5 lines
112 B
TypeScript
5 lines
112 B
TypeScript
import { Directive } from 'vue'
|
|
|
|
export const focus: Directive = {
|
|
mounted: (el: HTMLElement) => el.focus()
|
|
}
|