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
23 lines (22 loc) • 648 B
TypeScript
import { TableOptions } from './Table';
import { HTMLEditor } from '../../../core/HTMLEditor.ts';
export declare class TablePopup {
private editor;
private popup;
private selectedRows;
private selectedCols;
private hasHeader;
private callback;
private grid;
private label;
private headerCheckbox;
constructor(editor: HTMLEditor);
private createContent;
private setupEventListeners;
private handleGridMouseMove;
private handleGridMouseLeave;
private handleGridClick;
private handleHeaderCheckboxChange;
show(callback: (options: TableOptions) => void): void;
destroy(): void;
}