on-codemerge
Version:
A WYSIWYG editor for on-codemerge is a user-friendly interface that allows users to edit and view their code in real time, exactly as it will appear in the final product
16 lines (15 loc) • 398 B
TypeScript
import { HTMLEditor } from '../../../core/HTMLEditor';
export interface TableOptions {
hasHeader: boolean;
rows: number;
cols: number;
}
export declare class Table {
private element;
private editor?;
constructor(options: TableOptions, editor?: HTMLEditor);
private initialize;
getElement(): HTMLElement;
focusFirstCell(): void;
adjustColumnWidths(): void;
}