setHTML

sets HTML for template

void setHTML(string html);

Parameters

htmlstringHTML to be set in a template

Example

$$("view").setHTML("<h2>My app name</h2>");

Details

Data and templating rules will not be applied, the method will set provided HTML as it is.

Back to top