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="./component"></require> | |
<input type="checkbox" ref="isFiltering"> | |
<br> | |
<component | |
repeat.for="id of components | without8: isFiltering.checked | diff" | |
id.bind="id" | |
></component> | |
</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> | |
<div repeat.for="text of components | test"> | |
${text}<br> | |
</div> | |
</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="./component"></require> | |
<input type="checkbox" ref="isFiltering"> | |
<br> | |
<component | |
repeat.for="id of components | without8: isFiltering.checked | diff: proxy" | |
id.bind="id" | |
></component> | |
</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="./component"></require> | |
<button click.delegate="swapArrays()">Swap arrays</button> | |
<br> | |
<component | |
repeat.for="id of componentsProxy" | |
id.bind="id" | |
></component> |
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="./component"></require> | |
<button click.delegate="swapArrays()">Swap arrays</button> | |
<br> | |
<component | |
repeat.for="obj of componentsProxy" | |
id.bind="obj.id" | |
></component> |
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="./component"></require> | |
<button click.delegate="swapArrays()">Swap arrays</button> | |
<br> | |
<component | |
repeat.for="id of componentsProxy" | |
id.bind="id" | |
></component> |
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="./component"></require> | |
<button click.delegate="swapArrays()">Swap arrays</button> | |
<br> | |
<component | |
repeat.for="id of componentsProxy" | |
id.bind="id" | |
></component> |
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="./component"></require> | |
<input type="checkbox" ref="isFiltering"> | |
<br> | |
<component | |
optimized-repeat.for="id of components | without8: isFiltering.checked" | |
text.bind="id"> | |
[${$index}] | |
</component> |
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="./component"></require> | |
<button click.delegate="swapArrays()">Swap arrays</button> | |
<button click.delegate="reverse()">Reverse</button> | |
<br> | |
<component | |
optimized-repeat.for="id of components" | |
text.bind="id"> | |
[${$index}] |
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="./component"></require> | |
<require from="./object-component"></require> | |
<button click.delegate="swapArrays()">Swap arrays</button> | |
<button click.delegate="reverse()">Reverse</button> | |
<br> | |
<component | |
optimized-repeat.for="id of components" | |
text.bind="id"> |