vuestic-ui
Version:
Vue 3 UI Framework
7 lines (6 loc) • 386 B
TypeScript
import { Ref, type ComponentPublicInstance } from 'vue';
/**
* Creates virtual table headers, that are sticky when you scroll the table with position fixed.
* When standard table headers are visible, the virtual headers are hidden.
*/
export declare const useStickyTableHeaders: (tableEl: Ref<HTMLTableElement | ComponentPublicInstance | undefined | null>, offset?: number) => void;