@wocwin/t-ui-plus
Version:
Page level components developed based on Element Plus.
18 lines (17 loc) • 630 B
TypeScript
import { Ref } from 'vue';
export declare function useExpose(): {
TTable: Ref<any>;
clearSelection: () => any;
getSelectionRows: () => any;
toggleRowSelection: (row: any, selected?: boolean) => any;
toggleAllSelection: () => any;
toggleRowExpansion: (row: any, expanded: any) => any;
setCurrentRow: (row: any) => any;
clearSort: () => any;
clearFilter: (columnKey: any) => any;
doLayout: (columnKey: any) => any;
sort: (prop: string, order: string) => any;
scrollTo: (options: any, yCoord: any) => any;
setScrollTop: (top: any) => any;
setScrollLeft: (left: any) => any;
};