UNPKG

@vuesax-alpha/nightly

Version:
15 lines (14 loc) 526 B
import type { ShallowRef } from 'vue'; export declare const useInputEvent: ({ inputRef, }: { inputRef: ShallowRef<HTMLInputElement | undefined>; }) => { handleInput: (event: Event) => void; handleChange: (event: Event) => void; blur: () => void | undefined; handleBlur: (event: FocusEvent) => void; focused: import("vue").Ref<boolean>; focus: () => Promise<void>; handleFocus: (event: FocusEvent) => void; handleKeydown: (evt: KeyboardEvent) => void; select: () => void | undefined; };