ether-admin/node_modules/ant-design-vue/es/vc-table/hooks/useSticky.d.ts

12 lines
408 B
TypeScript

import type { ComputedRef, Ref } from 'vue';
import type { TableSticky } from '../interface';
/** Sticky header hooks */
export default function useSticky(stickyRef: Ref<boolean | TableSticky>, prefixClsRef: Ref<string>): ComputedRef<{
isSticky: boolean;
offsetHeader: number;
offsetSummary: number;
offsetScroll: number;
stickyClassName: string;
container: Window | HTMLElement;
}>;