Skip to content

Instantly share code, notes, and snippets.

@JeroenVinke
JeroenVinke / app.html
Created August 29, 2017 11:01
Menu: events
<template>
<require from="aurelia-kendoui-bridge/menu/menu"></require>
<require from="aurelia-kendoui-bridge/datetimepicker/datetimepicker"></require>
<div id="example">
<div class="demo-section k-content">
<h4>Menu</h4>
<ul id="menu"
ak-menu="k-open-on-click.bind: true; k-close-on-click.bind: true; k-animation.bind: false"
k-on-close.trigger="onClose($event)">
<li>
@JeroenVinke
JeroenVinke / app.html
Created August 29, 2017 11:01
Menu: events
<template>
<require from="aurelia-kendoui-bridge/menu/menu"></require>
<require from="aurelia-kendoui-bridge/datetimepicker/datetimepicker"></require>
<div id="example">
<div class="demo-section k-content">
<h4>Menu</h4>
<ul id="menu"
ak-menu="k-open-on-click.bind: true; k-close-on-click.bind: true; k-animation.bind: false"
k-on-close.trigger="onClose($event)">
<li>
@JeroenVinke
JeroenVinke / app.html
Created August 29, 2017 10:42
Menu: events
<template>
<require from="aurelia-kendoui-bridge/menu/menu"></require>
<require from="aurelia-kendoui-bridge/datetimepicker/datetimepicker"></require>
<div id="example">
<div class="demo-section k-content">
<h4>Menu</h4>
<ul id="menu"
ak-menu="k-open-on-click.bind: true; k-close-on-click.bind: true; k-animation.bind: false"
k-on-close.trigger="onClose($event)">
<li>
const path = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const CopyWebpackPlugin = require('copy-webpack-plugin');
const ExtractTextPlugin = require('extract-text-webpack-plugin');
const project = require('./aurelia_project/aurelia.json');
const { AureliaPlugin, ModuleDependenciesPlugin } = require('aurelia-webpack-plugin');
const { optimize: { CommonsChunkPlugin }, ProvidePlugin } = require('webpack');
const { TsConfigPathsPlugin, CheckerPlugin } = require('awesome-typescript-loader');
// config helpers:
@JeroenVinke
JeroenVinke / app.html
Created August 22, 2017 13:58
Aurelia Gist
<template>
<h1>${message}</h1>
${reportCriteria.reportType}
<fieldset class="form-group">
<div class="form-check" repeat.for="type of types">
<label class="form-check-label">
<input type="radio" class="form-check-input" name="reportType" id="MgrSum" model.bind="type.id" checked.bind="reportCriteria.reportType">
<b>${type.title}</b> ${type.description}
@JeroenVinke
JeroenVinke / app.html
Created August 22, 2017 13:54
Aurelia Gist
<template>
<h1>${message}</h1>
${reportCriteria.reportType}
<fieldset class="form-group">
<div class="form-check">
<label class="form-check-label">
<input type="radio" class="form-check-input" name="reportType" id="MgrSum" model.bind="1" checked.bind="reportCriteria.reportType">
<b>Manager Summary Report</b> - shows scores and performance by region by IA brand
'use strict';
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.DefaultLoader = exports.TextTemplateLoader = undefined;
var _aureliaLoader = require('aurelia-loader');
var _aureliaPal = require('aurelia-pal');
steal.config({
ext: {
html: 'text'
},
paths: {
'[email protected]#abstract-repeater': 'node_modules/aurelia-templating-resources/dist/commonjs/abstract-repeater.js',
'[email protected]#analyze-view-factory': 'node_modules/aurelia-templating-resources/dist/commonjs/analyze-view-factory.js',
'[email protected]#array-repeat-strategy': 'node_modules/aurelia-templating-resources/dist/commonjs/array-repeat-strategy.js',
'[email protected]#attr-binding-behavior': 'node_modules/aurelia-templating-resources/dist/commonjs/attr-binding-behavior.js',
'[email protected]#aurelia-hide-style': 'node_modules/aurelia-templating-resources/dist/commonjs/aurelia-hide-style.js',
define('app-bundle', ['exports'], function (exports) { 'use strict';
var environment = {
debug: true,
testing: true
};
var commonjsGlobal = typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
@JeroenVinke
JeroenVinke / app.html
Last active August 7, 2017 07:50
Aurelia Gist
<template>
<h1>${message}</h1>
Selected value: ${!boundValue ? 'All' : boundValue}
<select value.bind="boundValue">
<option model.bind="null">All</option>
<option repeat.for="option of options" model.bind="option.id">${option.display}</option>
</select>
</template>