@nativescript/core
Version:
A JavaScript library providing an easy to use api for interacting with iOS and Android platform APIs.
23 lines (22 loc) • 965 B
TypeScript
import { ScrollViewBase } from './scroll-view-common';
export * from './scroll-view-common';
export declare class ScrollView extends ScrollViewBase {
nativeViewProtected: org.nativescript.widgets.VerticalScrollView | org.nativescript.widgets.HorizontalScrollView;
private _androidViewId;
private handler;
private scrollChangeHandler;
get horizontalOffset(): number;
get verticalOffset(): number;
get scrollableWidth(): number;
get scrollableHeight(): number;
scrollToVerticalOffset(value: number, animated: boolean): void;
scrollToHorizontalOffset(value: number, animated: boolean): void;
createNativeView(): org.nativescript.widgets.VerticalScrollView | org.nativescript.widgets.HorizontalScrollView;
initNativeView(): void;
_onOrientationChanged(): void;
protected attachNative(): void;
private _lastScrollX;
private _lastScrollY;
private _onScrollChanged;
protected detachNative(): void;
}