ð§ Question time
This commit is contained in:
parent
38ccf65789
commit
20eafd4a99
17 changed files with 123 additions and 44 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue