create-table.d.ts 537 B

12345678910111213141516171819202122
  1. /**
  2. * @description 创建tabel
  3. * @author lichunlin
  4. */
  5. import Editor from '../../editor/index';
  6. declare 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. }
  22. export default CreateTable;