Skip to content

Instantly share code, notes, and snippets.

Thomas Khyn tkhyn

Block or report user

Report or block tkhyn

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@tkhyn
tkhyn / app.html
Last active Jul 23, 2017
Aurelia custom attribute demo
View app.html
<template>
<require from="datepicker"></require>
<h1>${text}</h1>
<p>Enter your name: <input type="text" value.bind="name"></p>
<p>Enter the date: <input type="text" datepicker value.bind="date"></p>
</template>
@tkhyn
tkhyn / index.html
Created Jul 22, 2017
Aurelia bootstrapper
View index.html
<!doctype html>
<html>
<body aurelia-app>
<h1>Loading...</h1>
<script src="https://cdn.rawgit.com/jdanyow/aurelia-bundle/v1.0.3/jspm_packages/system.js"></script>
<script src="https://cdn.rawgit.com/jdanyow/aurelia-bundle/v1.0.3/config.js"></script>
<script>
System.import('aurelia-bootstrapper');
</script>
@tkhyn
tkhyn / app.html
Last active Jul 23, 2017
Aurelia hello world
View app.html
<template>
<h1>${text}</h1>
</template>
@tkhyn
tkhyn / app.html
Created Jun 14, 2017
Set manipulation and repeat.for
View app.html
<template>
<h1 repeat.for="m of messages">${m}</h1>
<button click.trigger="change()">Change messages</button>
</template>
@tkhyn
tkhyn / app.html
Last active Jul 23, 2017 — forked from jdanyow/app.html
Aurelia + Recaptcha
View app.html
<template>
<require from="./recaptcha"></require>
<form submit.delegate="submit()" ref="form">
<button recaptcha.bind="recaptcha">Submit</button>
</form>
</template>
View app.html
<template>
<router-view></router-view>
</template>
You can’t perform that action at this time.