UNPKG

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

14 lines (13 loc) 497 B
import { Calendar, CalendarEvent } from '../types'; import { HTMLEditor } from '../../../core/HTMLEditor'; export declare class CalendarContextMenu { private editor; private onAction; private currentContextMenu; constructor(editor: HTMLEditor, onAction: (action: string, target: Calendar | CalendarEvent) => void); show(target: Calendar | CalendarEvent, x: number, y: number): void; hide(): void; private getMenuItems; private executeAction; destroy(): void; }