Skip to content

Instantly share code, notes, and snippets.

@freshcutdevelopment
Created September 24, 2017 02:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save freshcutdevelopment/184ab5e703f0646d3c3b55e1251b07c8 to your computer and use it in GitHub Desktop.
Save freshcutdevelopment/184ab5e703f0646d3c3b55e1251b07c8 to your computer and use it in GitHub Desktop.
app view - blog
<template>
<require from="style.css"></require>
<require from="list-group"></require>
<require from="pokemon.html"></require>
<section>
<h1>${message}</h1>
<hr/>
<h3>custom template</h3>
<list-group items-source.bind="pokemonItems">
<pokemon model.bind="item"></pokemon>
</list-group>
<hr/>
<h3>default template</h3>
<list-group items-source.bind="pokemonItems"
default-value.bind="defaultValue">
</list-group>
</section>
</template>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment