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) • 503 B
TypeScript
import { ChartPoint } from '../types';
export declare class DataRow {
element: HTMLElement;
private requiresXY;
private isScatter;
private onChange;
private onDelete;
constructor(data: Partial<ChartPoint>, requiresXY: boolean, isScatter: boolean, onChange: () => void, onDelete: () => void);
private initialize;
private getGridCols;
private createBasicRowContent;
private createXYRowContent;
private setupEventListeners;
getData(): Partial<ChartPoint>;
}