mirror of
https://github.com/koel/koel
synced 2024-12-29 22:13:06 +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()
|
|
}
|