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