Skip to content

Instantly share code, notes, and snippets.

<template>
<require from="./button-row"></require>
<button-row repeat.for="btnRow of btnRowArray" label.bind="btnRow.label" buttons.bind="btnRow.buttons"></button-row>
</template>
<template>
<require from="./button-row"></require>
<button-row repeat.for="btnRow of btnRowArray"></button-row>
</template>
<template>
<require from="panel"></require>
<panel click.delegate="onclick()">
<div>
<div>
Lights
<button type="button" class="btn btn-default">On</button>
<button type="button" class="btn btn-default">Off</button>
</div>
<div>
@haiau79
haiau79 / app.html
Last active September 21, 2016 19:05 — forked from jdanyow/app.html
Aurelia RequireJS Gist
<template>
<object type="image/svg+xml" id="svgId"
data="e-3.svg" height="50" width="50" viewBox="0 0 50 50"
mouseover.delegate="domouseover()" mouseout.delegate="domouseout()"
click.delegate="doClickSVG()">
</object>
<div>
<img src="e-3.svg" click.delegate="doClickSVG()"/>