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
.customer-photo { | |
display: inline-block; | |
width: 32px; | |
height: 32px; | |
border-radius: 50%; | |
background-size: 32px 35px; | |
background-position: center center; | |
vertical-align: middle; | |
line-height: 32px; | |
box-shadow: inset 0 0 1px #999, inset 0 0 10px rgba(0,0,0,.2); |
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/dropdownlist/dropdownlist"></require> | |
<div id="example"> | |
<div id="cap-view" class="demo-section k-content"> | |
<h4>Customize your Kendo Cap</h4> | |
<div ref="cap" id="cap" class="black-cap"></div> | |
<h4>Cap Color</h4> | |
<ak-drop-down-list k-data-text-field="text" | |
k-data-value-field="value" |
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> | |
<h1>${message}</h1> | |
<!-- https://gist.github.com/jdanyow/1ae985e6c943885496e8 --> | |
</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
<template> | |
<h1>It's computedFrom!</h1> | |
<select value.bind="selectedRoute" change.delegate="routeChanged()"> | |
<option repeat.for="x of router.navigation" value.bind="x.config.name" model.bind="x.config.name"> | |
${x.title} | |
</option> | |
</select> | |
<router-view></router-view> | |
</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
<template> | |
<require from="aurelia-kendoui-bridge/datepicker/datepicker"></require> | |
<require from="aurelia-kendoui-bridge/common/template"></require> | |
<ak-template id="footerTemplate"> | |
<button type="button">Click me</button> | |
</ak-template> | |
<div id="example"> | |
<div class="demo-section k-content"> | |
<h4>Start date:</h4> | |
<input ak-datepicker="k-value.bind : '10/10/2011'; |
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> | |
<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> |
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="pie-chart"></require> | |
<h3>App.js</h3> | |
<pie-chart some-arg="someValue"></pie-chart> | |
</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
<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> |
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> | |
<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> |
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> | |
<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" |
NewerOlder