Skip to content

Instantly share code, notes, and snippets.

View adriatic's full-sized avatar
💭
I may be slow to respond.

Nikolaj Ivancic adriatic

💭
I may be slow to respond.
  • Congral, LLC
  • Ann Arbor, MI
  • 04:28 (UTC -04:00)
View GitHub Profile
@adriatic
adriatic / app.html
Last active August 10, 2016 13:30
ComboBox: cascading combobox
<template>
<div id="example">
<div class="demo-section k-content">
<h4>Categories:</h4>
<ak-combobox k-option-label="Select category..."
k-data-text-field="CategoryName"
k-data-value-field="CategoryID"
k-widget.bind="categories"
k-data-source.bind="{
type: 'odata',
@adriatic
adriatic / app.html
Last active August 9, 2016 11:45
Upload: events
<template>
<require from="./logger.js"></require>
<div id="example">
<div class="box">
<h4>Information</h4>
<p>
This example shows how to handle events triggered by kendoUpload.
</p>
</div>
<div>
@adriatic
adriatic / app.html
Last active July 30, 2016 06:32
Menu: images
<template>
<require from="./images.css"></require>
<div id="example">
<div class="demo-section k-content">
<h4>Menu with images</h4>
<ul id="menu-images" ak-menu="k-data-source.bind: dataSource"></ul>
</div>
@adriatic
adriatic / app.html
Last active July 27, 2016 10:41
DropDownList: basic usage
<template>
<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"
k-data-source.bind="data"
@adriatic
adriatic / app.html
Last active July 24, 2016 18:53
ComboBox: server filtering
<template>
<div id="example">
<div class="demo-section k-content">
<h4>Find a product</h4>
<ak-combobox k-placeholder="Select product"
k-data-text-field="ProductName"
k-data-value-field="ProductID"
k-filter="contains"
k-auto-bind.bind="false"
k-min-length.bind="3"
@adriatic
adriatic / app.html
Last active July 22, 2016 16:55
Multiselect: server filtering
<template>
<div id="example">
<div class="demo-section wide k-content">
<ak-multiselect k-placeholder="Select products..."
k-data-text-field="ProductName"
k-data-value-field="ProductID"
k-auto-bind.bind="false"
k-data-source.bind="dataSource"
k-value.bind="value"></ak-multiselect>
</div>
@adriatic
adriatic / app.html
Last active July 20, 2016 06:46
Diagram: PDF export
<template>
<div id="example">
<div class="box wide">
<h4>Export diagram view</h4>
<div class="box-col">
<button class='export-pdf' ak-button click.delegate="savePDF()">Save as PDF</button>
</div>
</div>
<br><br>
<div class="demo-section k-content wide">
@adriatic
adriatic / app.html
Last active July 20, 2016 06:46
Diagram: advanced export
<template>
<div id="example">
<div class="box wide">
<h4>Export diagram content</h4>
<div class="box-col">
<button ak-button click.delegate="exportPDF()">Export as PDF</button>
</div>
<br>
<div class="box-col">
<button ak-button click.delegate="exportImage()">Export as Image</button>
@adriatic
adriatic / app.html
Last active July 20, 2016 06:46
Diagram: events
<template>
<require from="./logger.js"></require>
<div id="example">
<div class="demo-section k-content wide">
<ak-diagram style="height:600px;"
k-data-source.bind="shapesDataSource"
k-connections-data-source.bind="connectionsDataSource"
k-layout.bind="{
type: 'tree',
subtype: 'tipover',
@adriatic
adriatic / app.html
Last active July 20, 2016 06:46
Diagram: Api
<template>
<div id="example">
<div id="apiOptions" class="box wide">
<div class="box-col">
<h4>Add Shape</h4>
<ul class="options">
<li>
<label for="newShapeX" style="width: 30px;">X:</label>
<input ak-numerictextbox="k-value.two-way: newShapeX" />
</li>