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