Skip to content

Instantly share code, notes, and snippets.

View glen-84's full-sized avatar

Glen glen-84

  • Cape Town, South Africa
View GitHub Profile
@glen-84
glen-84 / app.html
Last active August 21, 2017 17:25 — forked from jdanyow/app.html
Aurelia set select options and value
<template>
<h1>Instructions</h1>
<ol>
<li>Click the "Set value" button (selected option changes correctly)</li>
<li>Increment number to 3</li>
<li>Click the "Set options and value" button (selected option is not set correctly)</li>
</ol>
<select value.bind="matchGame.winner.id">
@glen-84
glen-84 / app.html
Created March 5, 2017 15:52 — forked from plwalters/app.html
DI inheritance
<template>
<h1>Dialog Repro</h1>
<button click.delegate="submit()">Open Dialog</button>
</template>
<template>
<require from="./select2-custom-attribute"></require>
<require from="./debug"></require>
<h1>Standard Select</h1>
<select value.bind="selectedThings" style="width: 100%">
<option repeat.for="thing of things" model.bind="thing">${thing.name}</option>
</select>
<h1>Select2</h1>