# UI

  1. bindResize

绑定 resize 事件

定义:

declare type ResizeCallback = (type: Media) => void;
export declare const bindResize: (callback: ResizeCallback, run?: boolean, name?: string | undefined) => void;
  1. scrollToView

是否滚动到可视区域

定义:

export declare const scrollToView: ($el: HTMLElement) => boolean;
更新于: 10/22/2020, 9:01:50 PM