setHTML

sets HTML for template

void setHTML(string html);
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
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.