<div class="demo-preview-block"> <h5>Displays 'Names-List' via public MaterialRepeat functions</h5> <div mdl-repeat id="main"> {{! ----- Turn off default mustache interpretation (sitegen) ---- }} {{= | | =}} <template> <div> <label class="mdl-checkbox mdl-js-checkbox mdl-js-ripple-effect" for="check-{{id}}"> <input type="checkbox" id="check-{{id}}" class="mdl-checkbox__input" data-mdl-click="clicked('{{name}}')" /> <span class="mdl-checkbox__label">Repeat me: <strong>{{name}}</strong> (ID: {{id}})</span> </label> <button class="mdl-button mdl-js-button mdl-button--colored mdl-js-ripple-effect" data-mdl-click="remove()">Remove</button> </div> </template> |= {{ }} =| {{! ----- Turn on mustache ---- }} </div> </div>