可以调整卡片内容区域大小的工具
类型:ResizeInterface
new (editor: EditorInterface, card: CardInterface): ResizeInterface
create
创建并绑定事件
/*** 创建并绑定事件* @param options 可选项*/create(options: ResizeCreateOptions): void;
render
渲染工具
/*** 渲染* @param container 渲染到的目标节点,默认为当前卡片根节点* @param minHeight 最小高度,默认80px*/render(container?: NodeInterface, minHeight?: number): void;
dragStart
拉动开始
/*** 拉动开始* @param event 事件*/dragStart(event: MouseEvent): void;
dragMove
拉动移动中
/*** 拉动移动中* @param event 事件*/dragMove(event: MouseEvent): void;
dragEnd
拉动结束
/*** 拉动结束*/dragEnd(event: MouseEvent): void;
show
展示
/*** 展示*/show(): void;
hide
隐藏
/*** 隐藏*/hide(): void;
destroy
注销
/*** 注销*/destroy(): void;