Skip to content

Instantly share code, notes, and snippets.

@gregoryagu
gregoryagu / bootstrap.knockout.validation.js
Last active August 29, 2015 14:23 — forked from chadedrupt/bootstrap.knockout.validation.js
Updated for Bootstrap 3.3.5 and KO 3.3.0
ko.validation.init({
insertMessages: true,
decorateInputElement: true,
errorElementClass: 'has-error',
errorMessageClass: 'help-block'
});
this.first = ko.observable("Greg").extend({ required: true });
This is a new gist and it will be public.
@gregoryagu
gregoryagu / app.html
Last active September 3, 2016 14:41 — forked from JeroenVinke/app.html
Aurelia KendoUI component - problem report
<!-- put your view here -->
<template>
<ul ak-menu
k-data-source.bind="menuData"></ul>
</template>
@gregoryagu
gregoryagu / app.html
Created September 2, 2016 03:07 — forked from anonymous/app.html
Aurelia KendoUI component - problem report
<!-- 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>
@gregoryagu
gregoryagu / app.html
Created September 2, 2016 03:08
Aurelia KendoUI component - problem report
<!-- 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>
@gregoryagu
gregoryagu / app.html
Created September 2, 2016 03:08
Aurelia KendoUI component - problem report
<!-- 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>
@gregoryagu
gregoryagu / app.html
Created September 3, 2016 14:58 — forked from gist-master/app.html
Menu: basic usage
<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>
@gregoryagu
gregoryagu / app.html
Created December 23, 2016 16:13 — forked from bigopon/app.html
html 5 Drag drop aurelia
<template>
<require from='./self'></require>
<style>
.panel {
user-select: none;
}
.panel header {
padding: 5px;
height: 50px; background: green; color: #fff;
}
<!doctype html>
<html>
<head>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
</head>
<body>
<div aurelia-app="src/configure">
Loading...
<!doctype html>
<html>
<head>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
</head>
<body>
<div aurelia-app="src/configure">
Loading...