UNPKG

537 BTypeScriptView Raw
1/**
2 * @description 创建tabel
3 * @author lichunlin
4 */
5import Editor from '../../editor/index';
6declare class CreateTable {
7 private editor;
8 constructor(editor: Editor);
9 /**
10 * 执行创建
11 * @param rowValue 行数
12 * @param colValue 列数
13 */
14 createAction(rowValue: number, colValue: number): void;
15 /**
16 * 创建table、行、列
17 * @param rowValue 行数
18 * @param colValue 列数
19 */
20 createTableHtml(rowValue: number, colValue: number): string;
21}
22export default CreateTable;