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 {customAttribute, dynamicOptions, inject, DOM} from 'aurelia-framework'; | |
@customAttribute('my-attribute') | |
@dynamicOptions | |
@inject(DOM.Element) | |
export class MyAttribute { | |
constructor(element) { | |
this.element = element; | |
} |
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 {customAttribute, dynamicOptions, inject, DOM, bindable} from 'aurelia-framework'; | |
@customAttribute('my-attribute') | |
@inject(DOM.Element) | |
export class MyAttribute { | |
@bindable a; | |
@bindable b; | |
constructor(element) { |
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 {customAttribute, dynamicOptions, inject, DOM} from 'aurelia-framework'; | |
@customAttribute('my-attribute') | |
@dynamicOptions | |
@inject(DOM.Element) | |
export class MyAttribute { | |
constructor(element) { | |
this.element = element; | |
} |
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="aurelia-kendoui-bridge/grid/grid"></require> | |
<require from="aurelia-kendoui-bridge/grid/col"></require> | |
<div id="example"> | |
<ak-grid k-pageable.bind="true" k-height.bind="500" k-toolbar.bind="['create']" k-editable.bind="true" k-data-source.bind="dataSource" k-on-save.delegate="testLen($event)"> | |
<ak-col k-field="ProductName" k-title="Product Name"></ak-col> | |
<ak-col k-field="Category" k-title="Category" k-width="180px" k-editor.bind="categoryDropDownEditor" k-template.bind="categoryTemplate"></ak-col> | |
<ak-col k-field="UnitPrice" k-title="Unit Price" k-format="{0:c}" k-width="130px"></ak-col> | |
<ak-col k-command="destroy" k-title=" " k-width="150px"></ak-col> |
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="aurelia-kendoui-bridge/grid/grid"></require> | |
<require from="aurelia-kendoui-bridge/grid/col"></require> | |
<div id="example"> | |
<ak-grid k-pageable.bind="true" k-height.bind="500" k-toolbar.bind="['create']" k-editable.bind="true" k-data-source.bind="dataSource" k-on-save.delegate="testLen($event)"> | |
<ak-col k-field="ProductName" k-title="Product Name"></ak-col> | |
<ak-col k-field="Category" k-title="Category" k-width="180px" k-editor.bind="categoryDropDownEditor" k-template.bind="categoryTemplate"></ak-col> | |
<ak-col k-field="UnitPrice" k-title="Unit Price" k-format="{0:c}" k-width="130px"></ak-col> | |
<ak-col k-command="destroy" k-title=" " k-width="150px"></ak-col> |
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="aurelia-kendoui-bridge/datepicker/datepicker"></require> | |
<div id="example"> | |
<div class="demo-section k-content"> | |
<input type="button" click.delegate="showRef()" value="Show ref"/> | |
<h4>Date input</h4> | |
<input if.bind="showDate" ref="inputRef" ak-datepicker="k-value.bind:'10/10/2011'" style="width: 100%" /> | |
</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="aurelia-kendoui-bridge/datepicker/datepicker"></require> | |
<div id="example"> | |
<div class="demo-section k-content"> | |
<input type="checkbox" checked.bind="showDate">Show date</input> | |
<h4>Show e-mails from:</h4> | |
<input if.bind="showDate" ak-datepicker="k-value.bind:'10/10/2011'" style="width: 100%" /> | |
</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="aurelia-kendoui-bridge/datepicker/datepicker"></require> | |
<div id="example"> | |
<div class="demo-section k-content"> | |
<input type="checkbox" checked.bind="showDate">Show date</input> | |
<h4>Show e-mails from:</h4> | |
<input if.bind="showDate" ak-datepicker="k-value.bind:'10/10/2011'" style="width: 100%" /> | |
</div> | |
</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> | |
<button type="button" click.delegate="add()">add</button> | |
<button type="button" click.delegate="del()">del</button> | |
<button type="button" click.delegate="addDel()">add/del*10</button> | |
Iteration ${cnt} | |
<div id="modules-container"> | |
</div> | |
<div if.bind="show"> | |
<compose view.bind="formName" model.bind="this"></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
.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); |
NewerOlder