Skip to content

Instantly share code, notes, and snippets.

@jasoncarreira
jasoncarreira / app.html
Last active June 1, 2017 18:50 — forked from Thanood/app.html
Aurelia-Materialize bridge input fields
<template>
<require from="./au-input"></require>
<md-colors></md-colors>
<au-input label="A" value.bind="foo.a" percent.bind="foo.percent" salary.bind="foo.salary"></au-input>
<au-input label="B" value.bind="foo.b" percent.bind="foo.percent" salary.bind="foo.salary"></au-input>
<md-input md-label="Test" md-value.bind="foo.a & validate" md-validate="true"
md-validate-success="good">
@jasoncarreira
jasoncarreira / app.html
Last active April 26, 2016 06:14 — forked from Thanood/app.html
Aurelia - Materialize Range
<template>
<require from="./slider-value.html"></require>
<md-colors md-primary-color="#ee6e73" md-accent-color="#009688"></md-colors>
<section class="au-animate">
<h2>YourChoices</h2>
<slider-value propertyName.two-way="retirementAge" label="Retirement Age" callback="onRetirementAgeChanged"></slider-value>