Skip to content

Instantly share code, notes, and snippets.



Last active Jul 20, 2016
What would you like to do?
Window: basic usage
<require from="./basic-use.css"></require>
<div id="example">
<div id="window"
ak-window="k-width: 600px; k-title: About Alvar Aalto; k-visible.bind: false; k-actions.bind: actions; k-widget.bind: window"
<div class="armchair">
<img src="" alt="Artek Alvar Aalto - Armchair 402" /> Artek Alvar Aalto - Armchair 402</div>
<p>Alvar Aalto is one of the greatest names in modern architecture and design. Glassblowers at the iittala factory still meticulously handcraft the legendary vases that are variations on one theme, fluid organic shapes that let the end user decide the use. Interpretations of the shape in new colors and materials add to the growing Alvar Aalto Collection that remains true to his original design.</p>
<p>Born Hugo Alvar Henrik Aalto (February 3, 1898 - May 11, 1976) in Kuortane, Finland, was noted for his humanistic approach to modernism. He studied architecture at the Helsinki University of Technology from 1916 to 1921. In 1924 he married architect Aino Marsio.</p>
<p>Alvar Aalto was one of the first and most influential architects of the Scandinavian modern movement, and a member of the Congres Internationaux d'Architecture Moderne. Major architectural works include the Finlandia Hall in Helsinki, Finland, and the campus of Helsinki University of Technology.</p>
<p>Source: <a href="" title="About Alvar Aalto"></a></p>
<span id="undo" ref="undo" style="display:none" ak-button click.delegate="open()">Click here to open the window.</span>
<div class="responsive-message"></div>
import {TaskQueue, inject} from 'aurelia-framework';
export class BasicUse {
actions = ['Pin', 'Minimize', 'Maximize', 'Close'];
constructor(taskQueue) {
this.taskQueue = taskQueue;
attached() {
this.taskQueue.queueTask(() => {;
open() {;
onClose() {
#undo {
text-align: center;
position: absolute;
white-space: nowrap;
padding: 1em;
cursor: pointer;
.armchair {
float: left;
margin: 30px 30px 120px 30px;
text-align: center;
.armchair img {
display: block;
margin-bottom: 10px;
@media screen and (max-width: 1023px) {
#window-basic-use div.ak-window {
display: none !important;
<!doctype html>
<title>Aurelia KendoUI bridge</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="">
<link rel="stylesheet" href="">
<link rel="stylesheet" href="">
<link rel="stylesheet" href="">
<script src=""></script>
<body aurelia-app="main">
<script src=""></script>
<script src=""></script>
export function configure(aurelia) {
.plugin('aurelia-kendoui-bridge', kendo =>;
aurelia.start().then(a => a.setRoot());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment