events-helper.d.ts 870 B

12345678910111213141516
  1. import type { TableBodyProps } from './defaults';
  2. import type { TableOverflowTooltipOptions } from '../util';
  3. declare function useEvents<T>(props: Partial<TableBodyProps<T>>): {
  4. handleDoubleClick: (event: Event, row: T) => void;
  5. handleClick: (event: Event, row: T) => void;
  6. handleContextMenu: (event: Event, row: T) => void;
  7. handleMouseEnter: import("lodash").DebouncedFunc<(index: number) => void>;
  8. handleMouseLeave: import("lodash").DebouncedFunc<() => void>;
  9. handleCellMouseEnter: (event: MouseEvent, row: T, tooltipOptions: TableOverflowTooltipOptions) => void;
  10. handleCellMouseLeave: (event: any) => void;
  11. tooltipContent: import("vue").Ref<string>;
  12. tooltipTrigger: import("vue").Ref<import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
  13. [key: string]: any;
  14. }>>;
  15. };
  16. export default useEvents;