Première ébauche de freeCSV2HTML

This commit is contained in:
Fabrice PENHOËT 2021-08-05 18:24:37 +02:00
parent 34848f3d0c
commit bd7d669af1

View File

@ -0,0 +1,31 @@
const errors=require("./errors.js");
interface selectors
{
colCSV: number;
idElt: string;
eltDOM?: HTMLElement;
}
export class freeCSV2HTML
{
private _datasEltId: string = "";
private _datasUrl: string = "";
private _datasSelectors: selectors[] = [];
set datasEltId(id: string)
{
this._datasEltId=id;
}
set datasUrl(url: string)
{
this._datasUrl=url;
}
set datasSelectors(selectors: selectors[])
{
this._datasSelectors=selectors;
}
}