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="./basic-use.css!css"></require> | |
<require from="aurelia-kendoui-bridge/menu/menu"></require> | |
<div id="megaStore"> | |
<ul ak-menu k-data-source.bind="menuData"> | |
</ul> | |
</div> | |
</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
<!-- put your view here --> | |
<template> | |
<ak-treeview k-data-source.bind="dataSource" k-widget.bind="treeView"></ak-treeview> | |
<button ak-button click.delegate="addItem()">Add new item</button> | |
</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
<!-- put your view here --> | |
<template> | |
<ul ak-menu | |
k-data-source.bind="menuData"></ul> | |
</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
ko.validation.init({ | |
insertMessages: true, | |
decorateInputElement: true, | |
errorElementClass: 'has-error', | |
errorMessageClass: 'help-block' | |
}); | |
this.first = ko.observable("Greg").extend({ required: true }); |
NewerOlder