Skip to content

Instantly share code, notes, and snippets.

@lebolo
lebolo / app.html
Last active December 21, 2016 22:25 — forked from jdanyow/app.html
Aurelia Gist
<template>
<require from="./item"></require>
<require from="./hideCompletedValueConverter"></require>
<ol>
<li>Click the first checkbox</li>
<li>Notice that isCompleted bindings disagree with each other.</li>
<li>Go to item.js and uncomment bind().</li>
<li>Click the first checkbox</li>
<li>Notice the issue is gone...</li>
<li>What is going on?</li>
@lebolo
lebolo / app.html
Last active March 27, 2017 18:15 — forked from jdanyow/app.html
Aurelia Gist
<template>
<input value.bind="foo"></input>
<h1>${qux}</h1>
</template>
@lebolo
lebolo / app.html
Last active February 21, 2017 15:25 — forked from jmezach/app.html
Aurelia Gist
<template>
<require from="./dropdown"></require>
<h1>${message}</h1>
<dropdown>
<p class="dropdown-item" repeat.for="item of items">${item}</p>
</dropdown>
<a click.delegate="changeItems()" href="#">Change items</a>
<a click.delegate="mutateItems()" href="#">Mutate items</a>
</template>