Skip to content

Instantly share code, notes, and snippets.

View Thanood's full-sized avatar

Daniel Bendel Thanood

  • Cologne, Germany
View GitHub Profile
@Thanood
Thanood / app.html
Created September 27, 2016 14:52 — forked from vegarringdal/app.html
Aurelia ViewCompiler issue solved
<template>
<require from="./my-element"></require>
<require from="./my-template"></require>
<h1>Aurelia has been loaded</h1>
<my-element>
<my-template model.bind="appModel">
element property: ${elementProperty}<br/>
model title: ${title}
</my-template>
</my-element>
@Thanood
Thanood / app.html
Created September 19, 2016 15:40 — forked from harrol/app.html
Aurelia RequireJS Gist
<template>
Nested template elements in Internet Explorer 11
<table>
<thead>
<tr>
<th>Date</th>
<th>Amount</th>
</tr>
@Thanood
Thanood / app.html
Last active September 15, 2016 14:08 — forked from Ullfis/app.html
Aurelia - Materialize Select real auto auto-width
<template>
<require from="./auto-width"></require>
<md-input md-label="put some text here" md-value.bind="inputValue2" auto-width></md-input>
</template>
<!DOCTYPE html>
<html>
<head>
<title>Aurelia</title>
</head>
<body aurelia-app="main">
<script src="scripts/vendor-bundle.js" data-main="aurelia-bootstrapper"></script>
</body>
</html>
@Thanood
Thanood / app.html
Last active January 18, 2017 11:26 — forked from JeroenVinke/app.html
Aurelia skeleton
<template>
<select value.two-way="selectedMeal">
<option disabled model.bind="null">Select your meal</option>
<option repeat.for="meal of food" model.bind="meal">${meal.name}</option>
</select>
</template>
@Thanood
Thanood / app.html
Last active October 15, 2016 17:09 — forked from jdanyow/app.html
Aurelia Array observation
<template>
<require from="./jsonValueConverter"></require>
<h1>watch the data grow</h1>
${data.length}
${data|json}
</template>
import {inject} from 'aurelia-dependency-injection';
import {validationRenderer} from 'aurelia-validation';
@validationRenderer
@inject(Element)
export class BootstrapFormValidationRenderer {
constructor(boundaryElement) {
this.boundaryElement = boundaryElement;
}
@Thanood
Thanood / app.html
Created June 17, 2016 07:51 — forked from vegarringdal/app.html
vgrid test filter bug
<template>
<require from="valueConverters"></require>
<div class="row">
<v-grid
class="col-md-6"
style="height:350px"
v-row-height="25"
v-current-entity.bind=myCurrentEntity
v-collection.bind="myCollection| selected:'isSelected':showOnlySelected"
v-grid-context.bind=myGrid>
@Thanood
Thanood / 0_reuse_code.js
Created June 7, 2016 21:32
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@Thanood
Thanood / app.html
Created April 26, 2016 06:01 — forked from jasoncarreira/app.html
Aurelia - Materialize Range
<template>
<require from="./slider-value.html"></require>
<md-colors md-primary-color="#ee6e73" md-accent-color="#009688"></md-colors>
<section class="au-animate">
<h2>YourChoices</h2>
<slider-value propertyName.two-way="retirementAge" label="Retirement Age" callback="onRetirementAgeChanged"></slider-value>