Skip to content

Instantly share code, notes, and snippets.

View diegogarcia28's full-sized avatar

diegogarcia28

View GitHub Profile
<template>
<input type="text" list="myDatalist" value.bind="selectedValue" />
<datalist id="myDatalist">
<option repeat.for="option of options" model.bind="option">${option.name}</option>
</datalist>
<pre><code>${selectedValue}</code></pre>
</template>
<template>
${d1}
${d2}
<div repeat.for="d of demand" click.trigger="doSomething()">
<input type="checkbox" checked.bind="d.send">
<h4>${d.name}</h4>
</div>
</template>