HTL sly-element



HTL sly-element

 Used to replaces the element name of the host element of html tags.

 For eg:
 <h6 data-sly-element="${headerLevel}">Title Text</h6>,
 This replaces the h6 with the value of headerLevel. (Say the returned value for 'headerLevel' is 1, the <h6> will be replaced to h1)




Go to HTL Tutorial Home page

No comments:

Post a Comment