Skip to content

Instantly share code, notes, and snippets.

@JeroenVinke
JeroenVinke / app.html
Created March 2, 2017 15:28
TreeView: drag and drop
<template>
<require from="aurelia-kendoui-bridge/treeview/treeview"></require>
<require from="aurelia-kendoui-bridge/common/template"></require>
<require from="aurelia-kendoui-bridge/button/button"></require>
<div id="example">
<div class="demo-section k-content">
<h4>Treeview One</h4>
<ak-treeview
k-data-source.bind="data"
k-drag-and-drop.bind="true">
@JeroenVinke
JeroenVinke / app.html
Last active March 2, 2017 15:26 — forked from Reverbe/app.html
TreeView: drag and drop
<template>
<require from="aurelia-kendoui-bridge/treeview/treeview"></require>
<require from="aurelia-kendoui-bridge/common/template"></require>
<require from="aurelia-kendoui-bridge/button/button"></require>
<div id="example">
<div class="demo-section k-content">
<h4>Treeview One</h4>
<ak-treeview
k-data-source.bind="data"
k-drag-and-drop.bind="true">
@JeroenVinke
JeroenVinke / app.html
Created March 1, 2017 15:45 — forked from joakimhallberg/app.html
Responsive panel with Multiselect:
<template>
<require from="./basic-use.css!css"></require>
<require from="aurelia-kendoui-bridge/multiselect/multiselect"></require>
<require from="aurelia-kendoui-bridge/button/button"></require>
<require from="aurelia-kendoui-bridge/responsivepanel/responsivepanel"></require>
<button class="k-rpanel-toggle"><span class="k-icon k-i-hbars"></span></button>
@JeroenVinke
JeroenVinke / app.html
Created February 27, 2017 19:27 — forked from gist-master/app.html
ResponsivePanel: basic usage
<template>
<require from="aurelia-kendoui-bridge/responsivepanel/responsivepanel"></require>
<require from="./style.css"></require>
<div id="example">
<p>
Resize your window to see the effect of the responsive panel
</p>
<button click.delegate="call()">Call</button>
@JeroenVinke
JeroenVinke / app.html
Created February 24, 2017 14:06 — forked from gist-master/app.html
Area charts: Binding to remote data
<template>
<require from="aurelia-kendoui-bridge/chart/chart"></require>
<ak-chart k-title.bind="{text: 'Spain electricity production (GWh)'}"
k-data-source.bind="datasource"
k-legend.bind="{position: 'top'}"
k-auto-bind.bind="false"
k-series.bind="series"
k-series-defaults.bind="{type: 'area'}"
k-value-axis.bind="valueAxis"
k-category-axis.bind="categoryAxis"
require.config({
paths: {
"my-plugin": "./my-plugin"
}
});
define("my-plugin", []);
define(["my-plugin!./test.css"], function (r) {
console.log(r)
require.config({
paths: {
"my-plugin": "./my-plugin"
}
});
define("my-plugin", []);
define(["my-plugin!./test.css"], function (r) {
console.log(r)
.b {
a: '5'
}
.b {
a: '5'
}
.b {
a: '5'
}