This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Doric/doric-js/lib/src/widget/nestedSlider.d.ts

9 lines
370 B
TypeScript
Raw Normal View History

2020-01-03 14:44:51 +08:00
import { Group, View } from '../ui/view';
import { BridgeContext } from '../runtime/global';
export declare class NestedSlider extends Group {
onPageSlided?: (index: number) => void;
addSlideItem(view: View): void;
slidePage(context: BridgeContext, page: number, smooth?: boolean): Promise<any>;
getSlidedPage(context: BridgeContext): Promise<number>;
}