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="./menu-item"></require> | |
<div>${message}</div> | |
<div>menu Items : ${menuItems.length}</div> | |
<ul> | |
<li repeat.for="item of menuItems">${item.label}</li> | |
</ul> | |
<ul> | |
<menu-item repeat.for="item of menuItems" containerless ></menu-Item> |
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> | |
<select value.bind="currentLanguage"> | |
<option repeat.for="language of languages" value.bind="language">${language}</option> | |
</select> (${currentLanguage}) | |
<item-view repeat.for="item of items" item.bind="item" language.bind="currentLanguage" click.delegate="setCurrentItem(item)"></item-view> | |
<hr/> | |
<item-view if.bind="currentItem" item.bind="currentItem" language.two-way="currentLanguage"></item-view> | |
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="./svg-container"></require> | |
<svg-container document.bind="document"></svg-container> | |
</template> |