From 1604e82b3aaec90ffe6a5c89b1fe82571908b578 Mon Sep 17 00:00:00 2001 From: mertsincan Date: Wed, 29 May 2019 12:49:33 +0300 Subject: [PATCH] Created Paginator.d.ts --- src/components/paginator/Paginator.d.ts | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/components/paginator/Paginator.d.ts diff --git a/src/components/paginator/Paginator.d.ts b/src/components/paginator/Paginator.d.ts new file mode 100644 index 000000000..741fcff82 --- /dev/null +++ b/src/components/paginator/Paginator.d.ts @@ -0,0 +1,23 @@ +import Vue, { VNode } from 'vue'; + +export interface PageState { + first: number, + rows: number, + page: number, + pageCount: number +} + +export declare class Paginator extends Vue { + totalRecords?: number; + rows?: number; + first?: number; + pageLinkSize?: number; + rowsPerPageOptions?: any[]; + template?: string; + currentPageReportTemplate?: any; + $emit(eventName: 'page', event: PageState): this; + $slots: { + left: VNode[]; + right: VNode[]; + } +} \ No newline at end of file