d.ts for TreeTable

pull/41/head
cagataycivici 2019-08-07 22:22:01 +03:00
parent be405ce20b
commit 932164462f
3 changed files with 49 additions and 2 deletions

View File

@ -21,7 +21,7 @@ export declare class DataTable extends Vue {
defaultSortOrder?: number;
multiSortMeta?: any[];
sortMode?: string;
filters: {
filters?: {
[s: string]: any;
};
selection?: any[]|any;

View File

@ -15,7 +15,7 @@ export declare class Tree extends Vue {
$emit(eventName: 'node-select', node: any): this;
$emit(eventName: 'node-unselect', node: any): this;
$emit(eventName: 'node-expand', node: any): this;
$emit(eventName: 'node-collapsed', node: any): this;
$emit(eventName: 'node-collapse', node: any): this;
$slots: {
[key: string]: VNode[];
}

View File

@ -0,0 +1,47 @@
import Vue, {VNode} from 'vue';
export declare class TreeTable extends Vue {
value?: any;
expandedKeys?: any;
selectionKeys?: any;
selectionMode?: string;
metaKeySelection?: string;
rows?: number;
first?: number;
totalRecords?: number;
paginator?: boolean;
paginatorPosition?: string;
alwaysShowPaginator?: boolean;
paginatorTemplate?: string;
pageLinkSize?: number;
rowsPerPageOptions?: number[];
currentPageReportTemplate?: string;
lazy?: boolean;
loading?: boolean;
loadingIcon?: string;
rowHover?: boolean;
autoLayout?: boolean;
sortField?: string;
sortOrder?: number;
defaultSortOrder?: number;
multiSortMeta?: any[];
sortMode?: string;
filters?: {
[s: string]: any;
};
filterMode?: string;
resizableColumns?: boolean;
columnResizeMode?: string;
$emit(eventName: 'node-select', node: any): this;
$emit(eventName: 'node-unselect', node: any): this;
$emit(eventName: 'node-expand', node: any): this;
$emit(eventName: 'node-collapse', node: any): this;
$emit(eventName: 'column-resize-end', event: Event): this;
$slots: {
header: VNode[];
paginatorLeft: VNode[];
paginatorRight: VNode[];
empty: VNode[];
footer: VNode[];
}
}