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> | |
<require from="./list"></require> | |
<div>List</div> | |
<list></list> | |
</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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>GistRun</title> | |
<link rel="stylesheet" href="styles.css"> | |
</head> | |
<body> | |
<h1>Hello world!</h1> | |
<script src="script.js"></script> |
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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title>GistRun</title> | |
<link rel="stylesheet" href="styles.css"> | |
</head> | |
<body> | |
<h1>Hello world!</h1> | |
<script src="script.js"></script> |
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> | |
<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)" other-collection.bind="otherCollection"></item-view> | |
<hr/> | |
<item-view if.bind="currentItem" item.bind="currentItem" language.two-way="currentLanguage" other-collection.bind="otherCollection"></item-view> | |
<hr/> | |
<span repeat.for="n of otherCollection">${n}</span> |
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="savedItemIndex"> | |
<option repeat.for="item of savedItems" value.bind="$index">${index} (${item.numberproperty})</option> | |
</select> (${currentLanguage}) | |
</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="./svg-container"></require> | |
<svg-container document.bind="document"></svg-container> | |
</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="./svg-container"></require> | |
<svg-container document.bind="document"></svg-container> | |
</template> |