1
0
Fork 0

🚧 Question time

This commit is contained in:
joostdecock 2018-07-11 12:45:02 +00:00
parent 38ccf65789
commit 20eafd4a99
17 changed files with 123 additions and 44 deletions

View file

@ -26,4 +26,12 @@ export default class Pattern {
draft(config: object): void {
throw Error('You have to implement the draft() method in your Pattern instance.');
}
getOption(id: string | number): any {
return this.options[id].val;
}
o(id: string | number): any {
return this.getOption(id);
}
}