tdesign-vue-next
Version:
TDesign Component for vue-next
13 lines (12 loc) • 524 B
TypeScript
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;
};