HTL sly-call



HTL sly-call

Used to call a template defined with <data-sly-template/>. The content of the called template replaces the content of the host element of the call.

For eg:
<template data-sly-template.mytemplate>TEST</template>
<div data-sly-call="${mytemplate}"></div>

Go to HTL Tutorial Home page

 

No comments:

Post a Comment