Skip to content

Instantly share code, notes, and snippets.

View jwx's full-sized avatar

Jürgen Wenzel jwx

  • Sundsvall, Sweden
View GitHub Profile
@jwx
jwx / app.html
Last active April 28, 2017 16:18 — forked from martonsagi/app.html
Inline template in custom aurelia component
<template>
<div class="container-fluid">
<h4 class="page-header">Several bindings against one variable</h4>
<p>Variable value will be programmatically doubled every three seconds</p>
<div class="form-group">
<label>One:</label>
<input class="form-control" type="text" value.bind="boundValue" />
</div>
<div class="form-group">
<label>Two:</label>
@jwx
jwx / app.html
Last active March 9, 2017 00:19 — forked from TylerJPresley/app.html
Checkbox
<template>
<table>
<tr click.delegate="trClick()">
<td>
<span>testing</span>
<input type="checkbox" checked.bind="isChecked" click.delegate="checkboxClicked()">
<span>testing</span>
</td>
<td>${isChecked}</td>
</tr>