This file contains hidden or 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="tbind.js"></require> | |
<h1>${message}</h1> | |
<h2>${prop}</h2> | |
<div>${'val1' & t2}</div> | |
<div>${'val1' & t2}</div> | |
<hr/> | |
<div> | |
<compose containerless view.bind="'custom-view.html'"></compose> | |
</div> |
This file contains hidden or 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> | |
<h1>${message}</h1> | |
<div>${val1 & t & debounce}</div> | |
<div>${val1 & t & throttle}</div> | |
<div>${(val1) & t }</div> | |
<hr/> | |
<div> | |
<compose containerless view.bind="'custom-view.html'"></compose> | |
</div> | |
<hr/> |
This file contains hidden or 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="tbind.js"></require> | |
<h1>${message}</h1> | |
<h2>${prop}</h2> | |
<div>${'val1' & t & debounce}</div> | |
<div>${'val1' & t & throttle}</div> | |
<div>${'val1' & t}</div> | |
<hr/> | |
<div> | |
<compose containerless view.bind="'custom-view.html'"></compose> |
This file contains hidden or 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="tbind.js"></require> | |
<h1>${message}</h1> | |
<h2>${prop}</h2> | |
<div>${'val1' & t2}</div> | |
<div>${'val1' & t2}</div> | |
<div>${'val1' & t2}</div> | |
<hr/> | |
<div> | |
<compose containerless view.bind="'custom-view.html'"></compose> |
This file contains hidden or 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> | |
<section class="au-animate"> | |
<div class="well"> | |
<content select="#navigation"></content> | |
</div> | |
<div> | |
<content select="#content"></content> | |
</div> | |
</section> | |
</template> |
This file contains hidden or 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
export class TestValueConverter { | |
toView(value, selected, rebind) { | |
console.log("Running value converter"); | |
return value.filter(val => { | |
var found = false; | |
selected.forEach(sel => { | |
if (val.toLowerCase().indexOf(sel) > -1) |
This file contains hidden or 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> | |
<ul class="nav nav-tabs"> | |
<li role="presentation" click.delegate="$parent.selectTab(tab)" repeat.for="tab of tabs" class="${ $parent.selectedTab === tab ? 'active' : '' }"><a href="#">${ tab.heading }</a></li> | |
</ul> | |
<div style="margin-top:8px"> | |
<content></content> | |
</div> | |
</template> |
This file contains hidden or 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
<require from="test"></require> | |
<test></test> |
This file contains hidden or 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, ViewCompiler, ViewResources, Container} from 'aurelia-framework'; | |
/** | |
* Compiler service | |
* | |
* compiles an HTML element with aurelia | |
*/ | |
@inject(ViewCompiler, ViewResources, Container) | |
export class Compiler { |
This file contains hidden or 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 {HttpClient} from 'aurelia-http-client'; | |
import * as kendoUi from 'kendo-ui'; | |
import 'kendo-ui/styles/kendo.common-bootstrap.min.css!'; | |
import 'kendo-ui/styles/kendo.bootstrap.min.css!'; | |
@customAttribute('kendo-autocomplete') | |
@inject(Element, HttpClient) | |
export class KendoAutocomplete { |