simple-mind-map
Version:
一个简单的web在线思维导图
32 lines (31 loc) • 1.1 kB
TypeScript
declare namespace _default {
export { getText };
export { createText };
export { styleText };
export { onScale };
export { showEditTextBox };
export { removeTextEditEl };
export { hideEditTextBox };
export { updateTextEditBoxPos };
export { renderText };
export { updateTextPos };
}
export default _default;
declare function getText(node: any, toNode: any): any;
declare function createText(data: any): any;
declare function styleText(textNode: any, node: any, toNode: any): void;
declare function onScale(): void;
declare function showEditTextBox(g: any): void;
declare class showEditTextBox {
constructor(g: any);
textEditNode: HTMLDivElement;
showTextEdit: boolean;
}
declare function removeTextEditEl(): void;
declare function hideEditTextBox(): void;
declare class hideEditTextBox {
showTextEdit: boolean;
}
declare function updateTextEditBoxPos(g: any): void;
declare function renderText(str: any, path: any, text: any, node: any, toNode: any): void;
declare function updateTextPos(path: any, text: any): void;