mirror of
https://github.com/koel/koel
synced 2024-12-21 01:53:11 +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()
|
|
}
|