@tarojs/components
Version:
Taro 组件库。
25 lines (24 loc) • 777 B
TypeScript
import { ComponentInterface, EventEmitter } from '../../stencil-public-runtime';
export declare class ScrollView implements ComponentInterface {
private _scrollLeft;
private _scrollTop;
el: HTMLElement;
scrollX: boolean;
scrollY: boolean;
upperThreshold: number | string;
lowerThreshold: number | string;
mpScrollTop: number | string;
mpScrollLeft: number | string;
mpScrollIntoView: string;
scrollWithAnimation: boolean;
onScroll: EventEmitter;
onScrollToUpper: EventEmitter;
onScrollToLower: EventEmitter;
watchScrollLeft(newVal: any): void;
watchScrollTop(newVal: any): void;
watchScrollIntoView(newVal: any): void;
componentDidLoad(): void;
handleScroll: (e: any) => void;
upperAndLower: (...args: any[]) => void;
render(): any;
}