1
0
Fork 0

:wip: Working on design theme

This needs to be taken out of this repo later
This commit is contained in:
joostdecock 2018-07-16 13:42:26 +00:00
parent 659e57916c
commit 2160980ed4
9 changed files with 222 additions and 7 deletions

17
lib/snippet.ts Normal file
View file

@ -0,0 +1,17 @@
import { Point } from './point'
import { Attributes } from './attributes'
export class Snippet {
anchor: Point;
def: string;
attributes: Attributes = new Attributes();
description: string | false;
constructor(anchor: Point, def: string, description: string | false = false) {
this.anchor = anchor;
this.def = def;
this.description = description;
return this;
}
}