Skip to content

Instantly share code, notes, and snippets.

@SaucyJack
SaucyJack / app.html
Created May 30, 2017 19:00 — forked from gist-master/app.html
Editor: basic usage
<template>
<require from="aurelia-kendoui-bridge/editor/editor"></require>
<div id="example">
<textarea ak-rich-editor value.bind="bodyContent" style="height:440px">
</textarea>
</div>
</template>
@SaucyJack
SaucyJack / app.html
Created May 30, 2017 19:03
Editor: basic usage
<template>
<require from="aurelia-kendoui-bridge/editor/editor"></require>
<div id="example">
<textarea ak-rich-editor value.bind="bodyContent" style="height:440px">
</textarea>
</div>
</template>
@SaucyJack
SaucyJack / app.html
Last active February 18, 2020 23:06
Grid: saving/loading grid state
<template>
<router-view></router-view>
</template>
@SaucyJack
SaucyJack / app.html
Last active June 13, 2017 21:45
Grid-on-ready
<template>
<router-view></router-view>
</template>
@SaucyJack
SaucyJack / app.html
Last active July 5, 2017 15:06
Grid-Pager-All-Refresh
<template>
<router-view></router-view>
</template>
@SaucyJack
SaucyJack / app.html
Last active February 18, 2020 23:08
Bootstrap-Sandbox
<template>
<h4>Bootstrap Radio Button Groups and Aurelia</h4>
<div class="container">
<div class="row">
<div class="btn-group" data-toggle="buttons">
<h5>Fancy Bootstrapped Radio Buttons</h5>
<label repeat.for="option of options"
class="btn btn-sm btn-default ${option.value === selectedOption.value ? 'active' : ''}">
<input type="radio"
name="bootstrapOptions"
@SaucyJack
SaucyJack / app.html
Last active February 18, 2020 23:06
Layout-Menu-Loading
<template>
<nav>
<ul>
<li repeat.for="x of router.navigation">
<a href.bind="x.href">${x.title}</a>
</li>
</ul>
</nav>
<router-view></router-view>
</template>
@SaucyJack
SaucyJack / app.html
Last active August 1, 2017 20:22
JSON Routes
<template>
<nav>
<ul>
<li repeat.for="x of router.navigation">
<a href.bind="x.href">${x.title}</a>
</li>
</ul>
</nav>
<router-view></router-view>
</template>
@SaucyJack
SaucyJack / app.html
Last active August 31, 2017 21:46
Editor: basic usage
<template>
<require from="pie-chart"></require>
<h3>App.js</h3>
<pie-chart some-arg="someValue"></pie-chart>
</template>
@SaucyJack
SaucyJack / app.html
Last active September 7, 2017 18:31
composed dynamic drop-down construction
<template>
<h3>App.js</h3>
<div style="border: 1px inset; padding: 5px;">
<compose view-model="./generic-group-by" model.two-way="model"></compose>
</div>
<br />
<div>
<h4>This is all in the parent</h4>
Selected Value: ${model.selectedValue} <br />
</div>