Skip to content

Instantly share code, notes, and snippets.

View stoffeastrom's full-sized avatar

Christoffer Åström stoffeastrom

View GitHub Profile
@stoffeastrom
stoffeastrom / app.html
Created February 16, 2017 20:31 — forked from jdanyow/app.html
Aurelia Fetch Client Gist
<template>
<require from="async"></require>
<h1>${message}</h1>
<async></async>
</template>
@stoffeastrom
stoffeastrom / app.html
Last active February 17, 2017 20:15 — forked from jdanyow/app.html
Aurelia Gist
<template>
<require from="test"></require>
<h1>${message}</h1>
<div test.call="onTest()"></div>
</template>
@stoffeastrom
stoffeastrom / app.html
Created January 6, 2017 18:03 — forked from martonsagi/app.html
Inline template in custom aurelia component
<template>
<require from="./inline"></require>
<div class="container-fluid">
<h4 class="page-header">Inline template in custom component</h4>
<div class="form-group">
<label>Template:</label>
<input class="form-control" type="text" value.bind="customTemplate" />
</div>
<template>
<require from="./numeric-input"></require>
<numeric-input value.bind="value" callback.call="onBlur()"></numeric-input>
${value}
</template>
@stoffeastrom
stoffeastrom / app.html
Created August 24, 2016 19:50
Aurelia DBMonster with IntersectionObserver
<template>
<require from="./when-visible"></require>
<div>
<table class="table table-striped latest-data">
<tbody>
<tr repeat.for="db of databases">
<td class="dbname">
${db.dbname & oneTime & whenVisible}
</td>
<td class="query-count">