2016-11-20 17:41:26 +01:00
|
|
|
/**
|
|
|
|
* class Tlt allows templates to be used with different sets of data
|
|
|
|
*/
|
|
|
|
export declare class Tlt {
|
2017-02-25 23:40:15 +01:00
|
|
|
template: any;
|
2016-11-20 17:41:26 +01:00
|
|
|
/**
|
|
|
|
* constructor of class Tlt
|
|
|
|
*/
|
|
|
|
constructor(templateStringArg: string);
|
|
|
|
/**
|
|
|
|
* returns template string with data applied
|
|
|
|
*/
|
|
|
|
applyData(data: any): string;
|
|
|
|
/**
|
|
|
|
* set a new template string
|
|
|
|
*/
|
|
|
|
setTemplate(templateStringArg: string): void;
|
|
|
|
}
|