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) • 466 B
TypeScript
import { ChartMenu } from './ChartMenu';
import { HTMLEditor } from '../../../core/HTMLEditor.ts';
export declare class ChartContextMenu {
private chartMenu;
private contextMenu;
private activeChart;
private editor;
constructor(editor: HTMLEditor, chartMenu: ChartMenu);
private handleEdit;
private handleDelete;
private handleExport;
show(chart: HTMLElement, x: number, y: number): void;
hide(): void;
destroy(): void;
}