You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
870 B
17 lines
870 B
|
2 years ago
|
import type { TableBodyProps } from './defaults';
|
||
|
|
import type { TableOverflowTooltipOptions } from '../util';
|
||
|
|
declare function useEvents<T>(props: Partial<TableBodyProps<T>>): {
|
||
|
|
handleDoubleClick: (event: Event, row: T) => void;
|
||
|
|
handleClick: (event: Event, row: T) => void;
|
||
|
|
handleContextMenu: (event: Event, row: T) => void;
|
||
|
|
handleMouseEnter: import("lodash").DebouncedFunc<(index: number) => void>;
|
||
|
|
handleMouseLeave: import("lodash").DebouncedFunc<() => void>;
|
||
|
|
handleCellMouseEnter: (event: MouseEvent, row: T, tooltipOptions: TableOverflowTooltipOptions) => void;
|
||
|
|
handleCellMouseLeave: (event: any) => void;
|
||
|
|
tooltipContent: import("vue").Ref<string>;
|
||
|
|
tooltipTrigger: import("vue").Ref<import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
||
|
|
[key: string]: any;
|
||
|
|
}>>;
|
||
|
|
};
|
||
|
|
export default useEvents;
|