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 }); |
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
<!-- 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
<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
<template> | |
<require from='./self'></require> | |
<style> | |
.panel { | |
user-select: none; | |
} | |
.panel header { | |
padding: 5px; | |
height: 50px; background: green; color: #fff; | |
} |
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
body { | |
font-family: "Open Sans", Helvetica, Arial, sans-serif; | |
margin-bottom: 30px; | |
} | |
.list { | |
display: block; | |
margin: 20px 0px; | |
overflow: hidden; | |
} |
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> | |
<div> | |
<ej-tab id="defaultTab" e-width="100%" e-on-item-active.trigger="onitemActive($event)"> | |
<ul> | |
<li><a href="#children">Sub-Tasks</a></li> | |
<li click.trigger='click()'><a href="#calendar">Calendar</a></li> | |
</ul> | |
<div id="children"> |
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="nav-bar"></require> | |
<nav-bar router.bind="router"></nav-bar> | |
<main> | |
<div class="page-host"> | |
<router-view></router-view> |
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="components/navigation.html"></require> | |
<h1>Aurelia Router Demo</h1> | |
<navigation router.bind="router" class="primary-navigation"></navigation> | |
<div class="page-host"> | |
<router-view></router-view> | |
</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
<template> | |
<h1>${message}</h1> | |
</template> |
OlderNewer