Skip to content

Instantly share code, notes, and snippets.

{ name: 'aurelia-app',
type: 'project:application',
buildsystem: 'webpack',
platform: { id: 'web', displayName: 'Web' },
transpiler:
{ id: 'babel',
displayName: 'Babel',
fileExtension: '.js',
options: { plugins: [Object] } },
markupProcessor: { id: 'none', displayName: 'None', fileExtension: '.html' },
@JeroenVinke
JeroenVinke / app.html
Created April 29, 2017 09:33 — forked from pKrav75/app.html
ComboBox: Basic use
<template>
<ak-combobox k-data-text-field="text"
k-data-value-field="value"
k-data-source.bind="data"
k-value.two-way="fabric"
k-auto-width.bind="true"
k-filter="contains"
k-suggest.bind="true">
<ak-template>
<span class='k-state-default' >${desc}/${text}</span>
@JeroenVinke
JeroenVinke / app.html
Created April 25, 2017 20:36
Aurelia KendoUI component - problem report
<template>
<require from="aurelia-kendoui-bridge/multiselect/multiselect"></require>
<ak-multiselect id="testMulti1"
k-auto-close.bind="false"
k-data-source.bind="data"
k-data-text-field="text"
k-data-value-field="value"
k-tag-mode="single"
k-widget.two-way="multiselect"
@JeroenVinke
JeroenVinke / app.html
Created April 25, 2017 10:17
Grid: detail template
<template>
<require from="aurelia-kendoui-bridge/grid/grid"></require>
<require from="aurelia-kendoui-bridge/grid/col"></require>
<require from="aurelia-kendoui-bridge/common/template"></require>
<require from="./my-custom-element"></require>
<ak-grid k-data-source.bind="datasource">
<ak-col k-title="First Name" k-field="FirstName"></ak-col>
<ak-template for="detailTemplate">
<customer-orders customer.bind="$this" orders.bind="Orders" firstname.bind="FirstName"></customer-orders>
@JeroenVinke
JeroenVinke / app.html
Created April 25, 2017 10:07
Grid: detail template
<template>
<require from="aurelia-kendoui-bridge/grid/grid"></require>
<require from="aurelia-kendoui-bridge/grid/col"></require>
<require from="aurelia-kendoui-bridge/common/template"></require>
<ak-grid k-data-source.bind="datasource">
<ak-col k-title="First Name" k-field="FirstName"></ak-col>
<ak-template for="detailTemplate">
<ak-grid k-data-source.bind="Orders">
<ak-col k-title="OrderId" k-field="OrderId"></ak-col>
@JeroenVinke
JeroenVinke / app.html
Last active October 15, 2017 22:00
Grid: detail template
<template>
<require from="aurelia-kendoui-bridge/grid/grid"></require>
<require from="aurelia-kendoui-bridge/grid/col"></require>
<require from="aurelia-kendoui-bridge/common/template"></require>
<ak-grid k-data-source.bind="datasource"
k-pageable.bind="pageable"
k-sortable.bind="true"
k-on-detail-init.delegate="detailInit($event.detail)">
<ak-col k-title="First Name" k-field="FirstName"></ak-col>
@JeroenVinke
JeroenVinke / app.html
Created April 22, 2017 08:09
Grid: detail template
<template>
<require from="aurelia-kendoui-bridge/grid/grid"></require>
<require from="aurelia-kendoui-bridge/grid/col"></require>
<require from="aurelia-kendoui-bridge/common/template"></require>
<ak-grid k-data-source.bind="datasource"
k-pageable.bind="pageable"
k-sortable.bind="true"
k-on-data-bound.delegate="onDataBound($event.detail)"
k-on-detail-init.delegate="detailInit($event.detail)">
@JeroenVinke
JeroenVinke / app.html
Created April 22, 2017 07:59
Grid: detail template
<template>
<require from="aurelia-kendoui-bridge/grid/grid"></require>
<require from="aurelia-kendoui-bridge/grid/col"></require>
<require from="aurelia-kendoui-bridge/common/template"></require>
<ak-grid k-data-source.bind="datasource"
k-pageable.bind="pageable"
k-sortable.bind="true"
k-on-data-bound.delegate="onDataBound($event.detail)"
k-on-detail-init.delegate="detailInit($event.detail)">
@JeroenVinke
JeroenVinke / app.html
Created April 22, 2017 07:35 — forked from gist-master/app.html
Grid: advanced
<template>
<require from="./counter"></require>
<!--<require from="./capitalize"></require>-->
<require from="aurelia-kendoui-bridge/grid/grid"></require>
<require from="aurelia-kendoui-bridge/grid/col"></require>
<require from="aurelia-kendoui-bridge/common/template"></require>
<ak-grid k-data-source.bind="datasource">
<ak-col k-title="Contact Name" k-field="ContactName">
<ak-template>
@JeroenVinke
JeroenVinke / app.html
Created April 19, 2017 18:57
Grid: basic usage
<template>
<ak-grid k-data-source.bind="datasource" k-pageable.bind="pageable" k-sortable.bind="true" id="grid" >
<ak-col k-title="Product Name" k-field="ProductName" >
<ak-template for="groupFooterTemplate">
Group Count: ${ProductName.count}
</ak-template>
<ak-template for="footerTemplate">
Total Count: ${count}
</ak-template>