Skip to content

Instantly share code, notes, and snippets.

View loaded02's full-sized avatar

Moritz H loaded02

  • Freelancer
  • Darmstadt, Germany
View GitHub Profile
@loaded02
loaded02 / app.html
Last active December 6, 2017 09:08 — forked from jdanyow/app.html
Aurelia Validation - Prototype js Conflict
<template>
<require from="./registration-form"></require>
<registration-form></registration-form>
</template>
@loaded02
loaded02 / app.html
Last active July 6, 2017 10:39 — forked from jdanyow/app.html
Reloading Map: Index Bug
<template>
<require from="./custom"></require>
<h1>Reloading Bug</h1>
<button click.delegate="reloadArray()">Reload Array</button>
<button click.delegate="reloadMap()">Reload Map</button>
<h2>Array</h2>
<div repeat.for="item of myArray" custom>
${item}
@loaded02
loaded02 / app.html
Last active February 14, 2017 11:09
Aurelia ArrayBinding
<template>
<require from="./child"></require>
<h1>Aurelia has been loaded</h1>
<p>Parent Array: ${getArray()}</p>
<child array.two-way="parentArray"></child>
</template>
@loaded02
loaded02 / app.html
Last active February 10, 2017 14:58
Aurelia ObjectBinding
<template>
<require from="./child"></require>
<h1>Aurelia has been loaded</h1>
<p>Parent Object: ${getObjString()}</p>
<child obj.two-way="parentObj"></child>
</template>
@loaded02
loaded02 / app.html
Last active February 14, 2017 11:10 — forked from JeroenVinke/app.html
Aurelia PropertyBinding
<template>
<require from="./child"></require>
<h1>Aurelia has been loaded</h1>
<p>Parent Object: ${getObjString()}</p>
<child obj.two-way="parentObj"></child>
</template>