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
<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
<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
<template> | |
<form role="form"> | |
<div data-toggle="buttons"> | |
<label repeat.for="option of someOptions" class="btn btn-primary"> | |
<input type="checkbox" model.bind="option.value" checked.two-way="selectedOptions">${option.name} | |
</label> | |
</div> | |
</form> | |
Selected: |
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 AddSuffixValueConverter { | |
toView(val, suffix) { | |
return new Promise((res, rej) => { | |
setTimeout(() => { | |
res(val + ' ' + suffix); | |
}, 1000); | |
}); | |
} | |
} |
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 AppConfig { | |
routes = [ | |
{ | |
route: [''], | |
name: 'route1', | |
moduleId: './route1', | |
title: 'Route 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> | |
<require from="button1"></require> | |
<require from="panel"></require> | |
<div class="page-host"> | |
<panel buttons.bind="[{ name: 'button1' }, {name: 'button2'}, {name: 'button3' }]"> | |
<template replace-part="button-template"> | |
<button>${button.name}</button> | |
</template> | |
</panel> | |
</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>${b.message}</h1> | |
</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
<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> | |
<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> |