@nativescript-community/ui-pager-indicator
Version:
A NativeScript Indicator for Pager / Carousel /CollectionView
16 lines (15 loc) • 686 B
TypeScript
import { PagerIndicatorBase } from './index.common';
export * from './index.common';
export declare class PagerIndicator extends PagerIndicatorBase {
nativeViewProtected: com.rd.PageIndicatorView2;
setProgress(position: number, progress: number): void;
getCount(): number;
getSelection(): number;
setInteractiveAnimation(animated?: boolean): void;
setSelection(index: number, animated?: boolean): void;
setCount(count: number): void;
withoutAnimation(callback: Function): void;
createNativeView(): com.rd.PageIndicatorView2;
initNativeView(): void;
static getProgress(indicator: any, position: any, positionOffset: any, isRtl: any): any[];
}