HTL sly-template



HTL sly-template
Used to defines a template where the host element and its content are not output by HTL. Always used with <data-sly-call/>

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

No comments:

Post a Comment