Skip to content

Instantly share code, notes, and snippets.

View MT-PL-SWF-Dev's full-sized avatar

MT SWF MT-PL-SWF-Dev

View GitHub Profile
@MT-PL-SWF-Dev
MT-PL-SWF-Dev / app.html
Created October 11, 2016 12:55 — forked from JeroenVinke/app.html
Aurelia KendoUI component - problem report
<!-- put your view here -->
<template>
<p>Loaded</p>
<ak-grid k-data-source.bind="dataSource">
<ak-col k-field="name">
<ak-template for="headerTemplate">
Name
</ak-template>
</ak-col>
<ak-col k-field="lastName">
@MT-PL-SWF-Dev
MT-PL-SWF-Dev / app.html
Last active October 14, 2016 09:37 — forked from jdanyow/app.html
Aurelia Gist
<template>
<h1>Main Page</h1>
<router-view></router-view>
</template>
@MT-PL-SWF-Dev
MT-PL-SWF-Dev / native_js_drag_and_drop_helper.js
Created April 3, 2018 10:07 — forked from druska/native_js_drag_and_drop_helper.js
Create the `simulateDragDrop` function which can be used to simulate clicking and dragging one DOM Node onto another
function simulateDragDrop(sourceNode, destinationNode) {
var EVENT_TYPES = {
DRAG_END: 'dragend',
DRAG_START: 'dragstart',
DROP: 'drop'
}
function createCustomEvent(type) {
var event = new CustomEvent("CustomEvent")
event.initCustomEvent(type, true, true, null)