This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<require from="./click-to-edit"></require> | |
<click-to-edit> | |
<template replace-part='item-template'> | |
This text node is in DOM only after click | |
</template> | |
</click-to-edit> | |
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import {inject, customAttribute, bindable} from 'aurelia-framework'; | |
import 'jquery'; | |
import 'npm:[email protected]/dist/bootstrap-treeview.min.js'; | |
import {Test} from './treenode'; | |
@customAttribute('treeview') | |
@inject(Element) | |
export class TreeViewCustomAttribute { | |
element: Element; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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)"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<require from='./value-converter'></require> | |
<require from='./clock.html'></require> | |
<div> | |
Change locale to | |
<div> | |
<button | |
repeat.for='locale of locales' | |
click.delegate='changeLocale(locale.locale)'>${locale.name}</button> |