utils.d.ts 445 B

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