UNPKG

933 BTypeScriptView Raw
1import { ScrollViewBase } from './scroll-view-common';
2export * from './scroll-view-common';
3export declare class ScrollView extends ScrollViewBase {
4 nativeViewProtected: org.nativescript.widgets.VerticalScrollView | org.nativescript.widgets.HorizontalScrollView;
5 private _androidViewId;
6 private handler;
7 get horizontalOffset(): number;
8 get verticalOffset(): number;
9 get scrollableWidth(): number;
10 get scrollableHeight(): number;
11 scrollToVerticalOffset(value: number, animated: boolean): void;
12 scrollToHorizontalOffset(value: number, animated: boolean): void;
13 createNativeView(): org.nativescript.widgets.VerticalScrollView | org.nativescript.widgets.HorizontalScrollView;
14 initNativeView(): void;
15 _onOrientationChanged(): void;
16 protected attachNative(): void;
17 private _lastScrollX;
18 private _lastScrollY;
19 private _onScrollChanged;
20 protected dettachNative(): void;
21}