# UI
- bindResize
绑定 resize 事件
定义:
declare type ResizeCallback = (type: Media) => void;
export declare const bindResize: (callback: ResizeCallback, run?: boolean, name?: string | undefined) => void;
- scrollToView
是否滚动到可视区域
定义:
export declare const scrollToView: ($el: HTMLElement) => boolean;