HTL sly-text




HTL sly-text
Inserts the content of its host element with the specified text by replacing it.

For eg:
<div data-sly-text="${currentPage.title}">My page title</div>. Prints the current page title, still helpful for searching in html source using term 'My Page Title'

Go to HTL Tutorial Home page

 

No comments:

Post a Comment