Skip to content

Instantly share code, notes, and snippets.

@lstarky
lstarky / app.html
Last active December 4, 2019 00:18 — forked from Vallabharayudu/app.html
<template>
<require from="styles.css"></require>
<require from="tree-view"></require>
<tree-view></tree-view>
</template>
@lstarky
lstarky / app.html
Last active December 7, 2016 00:55
Testing anchors
<template>
<h1>Hello, ${fname}!</h1>
<ul>
<li><a href="#page1">Page 1</a></li>
<li><a href="#page2">Page 2</a></li>
</ul>
<router-view></router-view>
@lstarky
lstarky / app.html
Last active February 12, 2017 21:38
Liam's basic Aurelia template (with Bootstrap)
<template>
<div class="container-fluid">
<h1>Hello, ${fname}!</h1>
</div>
</template>
@lstarky
lstarky / app.html
Last active December 7, 2016 00:27 — forked from vegarringdal/app.html
Liam's basic Aurelia template
<template>
<h1>Hello, ${fname}!</h1>
</template>
@lstarky
lstarky / app.html
Last active November 9, 2016 17:38
Aurelia Custom Element with Modal Form
<template>
<require from="./modal-form"></require>
<h1>Aurelia Custom Element with Modal Form</h1>
<button class="btn btn-success btn-large" click.delegate="openModal()">New Item</button>
<button class="btn btn-primary btn-large" click.delegate="openModal(1)">Edit Item</button>
<div class="form-group">
<label for="my-input">#my-input</label>
<input type="text" class="form-control" id="my-input">
</div>