sap.ui.core.tmpl.Template - Test Page

Text Template (using "text" expression)

{{text path="/title"}}:

Advanced Text Template (using "element" expression)

{{element tag="b" text="{/title}"}}:

Advanced Text Template (using editable "element" expression)

{{element tag="textarea" text="{/title}" rows="2" cols="40"}}

Control Template (using "control" expression)

{{control sap-ui-type="sap.ui.commons.Label" design="Bold" text="{/title}"}}

Advanced Control Template (using editable "control" expression)

{{control sap-ui-type="sap.ui.commons.TextArea" value="{/title}" rows="2" cols="40"}}

Helpers Template (example for if/unless helper support)

{{text path="/title"}} (checked): {{text path="/title"}} (unchecked):