Skip to content

Instantly share code, notes, and snippets.

@lebolo
lebolo / app.html
Created March 27, 2017 18:16
Aurelia Gist
<template>
<h1>${message}</h1>
</template>
@lebolo
lebolo / app.html
Created March 27, 2017 18:16
Aurelia Gist
<template>
<h1>${message}</h1>
</template>
@lebolo
lebolo / app.html
Created March 20, 2017 21:01
Aurelia Gist
<template>
<h1>${message}</h1>
</template>
@lebolo
lebolo / app.html
Created March 20, 2017 20:32
Aurelia Gist
<template>
<select class="form-control" value.bind="test">
<option model.bind="'_initial_value'" disabled>-- select --</option>
<option model.bind="false">Show</option>
<option model.bind="true">Don't Show</option>
</select>
<div show.bind="test === false" class="col-xs-12 col-md-6 ui input">
<label>test</label>
</div>
</template>
@lebolo
lebolo / app.html
Created March 20, 2017 16:15
Aurelia Gist
<template>
<div repeat.for="i of 5">
<span>${$index}</span>
<textarea rows="5" cols="100" element.ref="generatedSql[$index]"></input>
</div>
</template>
@lebolo
lebolo / app.html
Last active February 21, 2017 15:25 — forked from jmezach/app.html
Aurelia Gist
<template>
<require from="./dropdown"></require>
<h1>${message}</h1>
<dropdown>
<p class="dropdown-item" repeat.for="item of items">${item}</p>
</dropdown>
<a click.delegate="changeItems()" href="#">Change items</a>
<a click.delegate="mutateItems()" href="#">Mutate items</a>
</template>
@lebolo
lebolo / app.html
Created February 10, 2017 18:06
Aurelia Gist
<template>
<require from="./my-element"></require>
<name-tag>
Ralphie
</name-tag>
</template>
@lebolo
lebolo / app.html
Created February 10, 2017 17:00
Aurelia Gist
<template>
<require from="./my-element"></require>
<named-slot>
<div slot="slot1">
This Goes in Slot 1
</div>
<div slot="slot2">
This Goes in Slot 2
</div>
@lebolo
lebolo / app.html
Created February 10, 2017 16:57
Aurelia Gist
<template>
<require from="./my-element"></require>
<my-element>
<div slot="foo">Hi</div>
<thead slot="head">
<tr>
<th>Foo</th>
<th>Bar</th>
</tr>
@lebolo
lebolo / app.html
Created February 7, 2017 14:30
Aurelia Gist
<template>
<h1>${message}</h1>
</template>