import { DesignContainerBase } from '../design-container-base/design-container-base'; import './design-scroll-container.less'; /** * 子类型声明 */ declare type ChildTypes = 'CONTAINER_SCROLL_HEADER' | 'CONTAINER_SCROLL_BOTTOM' | 'CONTAINER_SCROLL_LEFT' | 'CONTAINER_SCROLL_RIGHT' | 'CONTAINER_SCROLL_MAIN'; /** * 绘制滚动容器 * * @export * @class DesignScrollContainer * @extends {DesignContainerBase} */ export declare class DesignScrollContainer extends DesignContainerBase { /** * 布局控制 */ top: any; bottom: any; left: any; right: any; main: any; load(): Promise; /** * 设置子项数据 * @param {*} data */ setChildData(data: any): void; /** * 创建项数据存入本地 * @param context * @param parent * @param params */ createItem(context: any, parent: any, params?: any): Promise; /** * 更新子项数据(main) */ updateChildData(): void; /** * 创建 * @param {ChildTypes} type */ createdChild(type: ChildTypes): Promise; /** * 移除布局 * @param {string} type */ removeChild(type: string): Promise; /** * 判断布局按钮创建&移除 * @param {MouseEvent} e * @param {string} type */ onLayoutChange(e: MouseEvent, type: string): void; /** * 获取宽度 * * @memberof */ getWidthStyle(data: any): any; /** * 获取高度 * * @memberof */ getHeightStyle(data: any): any; /** * 子项渲染 * @param {string} pos * @param {any} data */ renderContentItem(pos: string, data: any): JSX.Element; /** * 绘制布局容器功能按钮 * @returns */ renderScrollActions(): JSX.Element; renderContent(): any; } export {}; //# sourceMappingURL=design-scroll-container.d.ts.map