#fragment
Details | |
---|---|
name | fragment |
type | boolean attribute |
related-attributes | none |
description | An attribute version of the fragment tag. |
Usage Examples
<div #repeat="3" #fragment>
<label for="field-{$item}"></label>
<input id="field-{$item}" type="text">
</div>
<div #if="$data.description" #fragment>
<h2>Description</h2>
<p>{$data.description}</p>
</div>