Skip to content

Instantly share code, notes, and snippets.

View plong0's full-sized avatar

Pat Long plong0

  • Canada
View GitHub Profile
@plong0
plong0 / CategoryTree.vue
Last active September 2, 2021 18:20
Demo of using single-select Radio Group with Vuetify Treeview
<template>
<v-card>
<v-card-text>
{{ category }}
<radio-tree :items="categories" value-key="id" v-model="category" ref="radioTree"></radio-tree>
</v-card-text>
<v-card-actions>
<v-btn @click.stop="nuke()" color="warning">Nuke</v-btn>
</v-card-actions>
</v-card>
@plong0
plong0 / js-events-demo-01.js
Created January 24, 2018 00:49
Simple JavaScript events system (with handler filtering on data objects)
/* js-events-demo-01.js
Simple JavaScript events system (with handler filtering on data objects)
Author: Pat Long
Date: 2018/01/23
License: CC-BY-SA-4.0
*/
@plong0
plong0 / foo.js
Created April 10, 2017 17:29
Babel typeof
export default class Foo {
constructor(){
console.log('Hi Foo!');
}
}
@plong0
plong0 / .gitignore
Last active December 19, 2016 15:41
User Registration demo using angular-schema-form
.DS_Store
bower_components/