Skip to content

Instantly share code, notes, and snippets.

View charlespockert's full-sized avatar

Charles Pockert charlespockert

View GitHub Profile
@charlespockert
charlespockert / app.html
Last active May 18, 2016 21:37 — forked from valichek/app.html
Aurelia + i18n plugin issue with binding behaviour
<template>
<require from="tbind.js"></require>
<h1>${message}</h1>
<h2>${prop}</h2>
<div>${'val1' & t2}</div>
<div>${'val1' & t2}</div>
<div>${'val1' & t2}</div>
<hr/>
<div>
<compose containerless view.bind="'custom-view.html'"></compose>
<template>
<form role="form">
<div data-toggle="buttons">
<label repeat.for="option of someOptions" class="btn btn-primary">
<input type="checkbox" model.bind="option.value" checked.two-way="selectedOptions">${option.name}
</label>
</div>
</form>
Selected:
<template>
<require from="nav-bar.html"></require>
<require from="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css"></require>
<nav-bar router.bind="router"></nav-bar>
<div class="page-host" style="margin-top:50px">
<router-view></router-view>
</div>
</template>