page-scroll.d.ts 495 B

1234567
  1. /// <reference types="miniprogram-api-typings" />
  2. /// <reference types="miniprogram-api-typings" />
  3. declare type IPageScrollOption = WechatMiniprogram.Page.IPageScrollOption;
  4. declare type Scroller = (this: WechatMiniprogram.Component.TrivialInstance, event?: IPageScrollOption) => void;
  5. export declare const pageScrollMixin: (scroller: Scroller) => string;
  6. export declare const getRect: (context: any, selector: string) => Promise<WechatMiniprogram.BoundingClientRectCallbackResult>;
  7. export {};