Skip to content

Instantly share code, notes, and snippets.

@sboyd
sboyd / app.html
Last active July 11, 2017 03:18 — forked from jdanyow/app.html
Aurelia Validation Demo
<template>
<require from="./registration-form"></require>
<registration-form></registration-form>
</template>
@sboyd
sboyd / app.html
Last active May 9, 2017 15:52 — forked from Thanood/app.html
Aurelia-Materialize bridge datepicker
<template>
<div>
<input md-datepicker="value.two-way: selectedDate;" type="date" placeholder="pick a date" />
</div>
<div>
<button md-button click.delegate="setDate()">set date</button>
</div>
<div>
<span if.bind="selectedDate">You selected (UTC time): ${selectedDate | stringify}</span>
</div>