UNPKG

@nativescript-community/ui-pager

Version:

A NativeScript Pager / Carousel component that allows the user to swipe left and right through pages of data.

21 lines (20 loc) 714 B
import { NativeViewElementNode, ViewNode } from 'svelte-native/dom'; import { Pager } from '..'; declare module '@nativescript/core/ui/core/view-base' { interface ViewBase { __SvelteComponent__?: any; __SvelteComponentBuilder__?: any; __CollectionViewCurrentIndex__?: number; } } export default class PagerViewElement extends NativeViewElementNode<Pager> { constructor(); private loadView; setAttribute(fullkey: string, value: any): void; private getComponentForView; onInsertedChild(childNode: ViewNode, index: number): void; onRemovedChild(childNode: ViewNode): void; private disposeListItem; private updateListItem; static register(): void; }