This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<input value.bind="foo"></input> | |
<h1>${qux}</h1> | |
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> |