Skip to content

Instantly share code, notes, and snippets.

@plwalters
plwalters / app.html
Created February 19, 2019 21:14 — forked from jdanyow/app.html
Aurelia Accessible Autocomplete with Filtering
<template>
<require from="./autocomplete"></require>
<form>
<label class="form-component">
Country:<br/>
<autocomplete service.bind="suggestionService.country"
value.bind="model.country"
placeholder="Enter country..."
change.delegate="model.city = null">
</autocomplete>

Keybase proof

I hereby claim:

  • I am pwkad on github.
  • I am pwkad (https://keybase.io/pwkad) on keybase.
  • I have a public key ASA7Y1b4i1-4s2qDdsAHO3-7sWq45KFz4iYZbVpstVP2bwo

To claim this, I am signing this object:

@plwalters
plwalters / app.html
Created February 1, 2019 20:29
DI inheritance
<template>
<style>.open { color: yellow }</style>
<p class="${chatOpen ? 'open' : '' }">${chatOpen}</p>
<button click.delegate="toggleOpen()">Toggle</button>
</template>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Node URI Example</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h1>QR Code Example</h1>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Node URI Example</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h1>QR Code Example</h1>
@plwalters
plwalters / app.html
Last active August 29, 2017 02:49
DI inheritance
<template>
<table>
<thead>
<tr>
<th>Date</th>
<th>Price</th>
<th>Amount</th>
<th>Total</th>
<th>Profit</th>
</tr>
@plwalters
plwalters / app.html
Last active August 29, 2017 02:45
DI inheritance
<template>
<table>
<thead>
<tr>
<th>Date</th>
<th>Price</th>
<th>Amount</th>
<th>Total</th>
<th>Profit</th>
</tr>
@plwalters
plwalters / app.html
Created August 1, 2017 01:55
DI inheritance
<template>
<require from="./sort"></require>
<require from="./customele"></require>
<table>
<tr
as-element="customele"
repeat.for="entry of entries | sort: { propertyName: 'on', direction: 'descending' }"
entry.bind="entry">
</tr>
</table>
@plwalters
plwalters / app.html
Created June 12, 2017 22:51
DI inheritance
<template>
<require from="./two-decimal-value-converter"></require>
<h1>${message}</h1>
<input value.bind="testing | twoDecimal "/>
</template>
@plwalters
plwalters / app.html
Created June 12, 2017 22:49
DI inheritance
<template>
<h1>${message}</h1>
</template>