Skip to content

Instantly share code, notes, and snippets.

View shaydoc's full-sized avatar
🙉

Shay Doherty shaydoc

🙉
View GitHub Profile
@shaydoc
shaydoc / manifest definition
Last active May 13, 2020 06:35
plugin sdk manifest
{
"manifest": {
"schemaVersion":0.0.1,
"id": "{{devportal-id}}",
"name": "tw-spaces-core",
"description": "This is a Teamwork core plugin package including the Checklist and Desk Demo modules",
"extendedDescription": "s3://tw-spaces-core.html",
"version": "0.2.5",
"author": "Spaces team",
"organisation": "teamwork",
@shaydoc
shaydoc / vue
Created July 3, 2017 09:19
realtime.vue - apply css3 transitions dynamically with vue.js
<template>
<div>
<transition appear v-bind:name="transition" mode="out-in" >
<div class="card" v-bind:key="users">
<div class="card-block">
<h3><i class="fa fa-users"></i> {{ cardTitle }}</h3>
</div>
<div class="card-block">
<h1>{{users}}
<i style="font-size:0.5em" class="fa fa-arrow-up" v-if="transition=='green'"></i>