Skip to content

Instantly share code, notes, and snippets.

@Reverbe
Reverbe / app.html
Last active February 28, 2017 21:01
TreeView: drag and drop
<template>
<require from="aurelia-kendoui-bridge/treeview/treeview"></require>
<div id="example">
<div class="demo-section k-content">
<h4>Treeview One</h4>
<ak-treeview
k-data-text-field.bind="dtf"
k-data-source.bind="data"
k-template.bind="template"
@Reverbe
Reverbe / app.html
Last active February 28, 2017 20:54
TreeView: drag and drop
<template>
<div id="example" element.ref="treeWrap">
</div>
</template>
@Reverbe
Reverbe / app.html
Last active March 2, 2017 15:21 — forked from gist-master/app.html
TreeView: drag and drop
<template>
<require from="aurelia-kendoui-bridge/treeview/treeview"></require>
<require from="aurelia-kendoui-bridge/common/template"></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">
@Reverbe
Reverbe / app.css
Created February 24, 2017 19:21
Grid: basic usage
body {
margin: 0;
}
.btn{
font-size: 30px;
padding: 20px;
margin-top: 20px;
}
@Reverbe
Reverbe / app.css
Last active February 24, 2017 18:45 — forked from JeroenVinke/app.css
Grid: basic usage
body {
margin: 0;
}
.btn{
font-size: 30px;
padding: 20px;
margin-top: 20px;
}
@Reverbe
Reverbe / app.css
Last active February 22, 2017 14:51
Grid: basic usage
body {
margin: 0;
}
.btn{
font-size: 30px;
padding: 20px;
margin-top: 20px;
}
@Reverbe
Reverbe / app.css
Last active February 22, 2017 12:52
Grid: basic usage
body {
margin: 0;
}
.btn{
font-size: 30px;
padding: 20px;
margin-top: 20px;
}
<template>
<label repeat.for="option of options">
<input type="radio" name="periodOptions" model.bind="option" checked.bind="$parent.selectedOption" click.delegate="clicked()"/>
${option.text}
</label>
<p><pre><code>${selectedOption | stringify}</code></pre></p>
</template>
@Reverbe
Reverbe / app.css
Last active February 21, 2017 15:55
Grid: basic usage
body {
margin: 0;
}
.btn{
font-size: 30px;
padding: 20px;
margin-top: 20px;
}
@Reverbe
Reverbe / app.html
Last active January 18, 2017 21:52
parent-child comm
<template>
<require from="./subpark"></require>
<require from="./frontpark"></require>
<frontpark class="wrap"></frontpark>
<subpark class="wrap"></subpark>
</template>