/** * construct different template based on template string */ export declare class TemplateComponent { private _renderer; constructor(template: string); template: any; renderer: any; /** * parentId: string, id of html element obj * detailsObj: a js obj, with different structure for different Renderer * for chartDetailsRender, the detailsObj is with structure like: {data: payload.d, hasColorIcon: false}, data is the * required attribute of this object. payload is an object from dispatcher's call back function. payload.d * contains a single dLayout object, which contains details, the text content for details template, also may contain * other attribute like color, size etc */ createView(parentId: any, detailsObj: any): TemplateComponent; /** * parent: html element obj * detailsObj: a js obj, with different structure for different Renderer * for chartDetailsRender, the detailsObj is with structure like: {data: payload.d, hasColorIcon: false} data is the * required attribute of this object. payload is an object from dispatcher's call back function. payload.d * contains a single dLayout object, which contains details, the text content for details template, also may contain * other attribute like color, size etc */ updateView(parent: any, detailsObj: any): TemplateComponent; }