Skip to content

Instantly share code, notes, and snippets.

Avatar

Patrick Walters PWKad

View GitHub Profile
@PWKad
PWKad / app.html
Created Feb 19, 2019 — forked from jdanyow/app.html
Aurelia Accessible Autocomplete with Filtering
View app.html
<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>
View keybase.md

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:

@PWKad
PWKad / app.html
Created Feb 1, 2019
DI inheritance
View app.html
<template>
<style>.open { color: yellow }</style>
<p class="${chatOpen ? 'open' : '' }">${chatOpen}</p>
<button click.delegate="toggleOpen()">Toggle</button>
</template>
View index.html
<!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>
View index.html
<!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>
@PWKad
PWKad / app.html
Last active Aug 29, 2017
DI inheritance
View app.html
<template>
<table>
<thead>
<tr>
<th>Date</th>
<th>Price</th>
<th>Amount</th>
<th>Total</th>
<th>Profit</th>
</tr>
@PWKad
PWKad / app.html
Last active Aug 29, 2017
DI inheritance
View app.html
<template>
<table>
<thead>
<tr>
<th>Date</th>
<th>Price</th>
<th>Amount</th>
<th>Total</th>
<th>Profit</th>
</tr>
@PWKad
PWKad / app.html
Created Aug 1, 2017
DI inheritance
View app.html
<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>
@PWKad
PWKad / app.html
Created Jun 12, 2017
DI inheritance
View app.html
<template>
<require from="./two-decimal-value-converter"></require>
<h1>${message}</h1>
<input value.bind="testing | twoDecimal "/>
</template>
@PWKad
PWKad / app.html
Created Jun 12, 2017
DI inheritance
View app.html
<template>
<h1>${message}</h1>
</template>