UNPKG

tdesign-vue-next

Version:
13 lines (12 loc) 524 B
import { Ref } from 'vue'; import { TdInputProps } from './../type'; export declare function useInputEventHandler(props: TdInputProps, isHover: Ref<Boolean>): { isHover: Ref<Boolean>; handleKeydown: (e: KeyboardEvent) => void; handleKeyUp: (e: KeyboardEvent) => void; handleKeypress: (e: KeyboardEvent) => void; onHandlePaste: (e: ClipboardEvent) => void; onHandleMousewheel: (e: WheelEvent) => void; onInputMouseenter: (e: MouseEvent) => void; onInputMouseleave: (e: MouseEvent) => void; };