@nativescript/core
Version:
A JavaScript library providing an easy to use api for interacting with iOS and Android platform APIs.
30 lines (29 loc) • 1.37 kB
TypeScript
import { ScrollViewBase, scrollBarIndicatorVisibleProperty, isScrollEnabledProperty } from './scroll-view-common';
export * from './scroll-view-common';
export declare class ScrollView extends ScrollViewBase {
[isScrollEnabledProperty.getDefault]: () => boolean;
[isScrollEnabledProperty.setNative]: (value: boolean) => void;
[scrollBarIndicatorVisibleProperty.getDefault]: () => boolean;
[scrollBarIndicatorVisibleProperty.setNative]: (value: boolean) => void;
nativeViewProtected: UIScrollView;
private _contentMeasuredWidth;
private _contentMeasuredHeight;
private _isFirstLayout;
private _delegate;
createNativeView(): UIScrollView;
initNativeView(): void;
disposeNativeView(): void;
_setNativeClipToBounds(): void;
protected attachNative(): void;
protected detachNative(): void;
protected updateScrollBarVisibility(value: any): void;
get horizontalOffset(): number;
get verticalOffset(): number;
get scrollableWidth(): number;
get scrollableHeight(): number;
scrollToVerticalOffset(value: number, animated: boolean): void;
scrollToHorizontalOffset(value: number, animated: boolean): void;
onMeasure(widthMeasureSpec: number, heightMeasureSpec: number): void;
onLayout(left: number, top: number, right: number, bottom: number): void;
_onOrientationChanged(): void;
}