diff options
Diffstat (limited to '')
-rw-r--r-- | static/vevent.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/static/vevent.ts b/static/vevent.ts index ddabb507..4f47f8e3 100644 --- a/static/vevent.ts +++ b/static/vevent.ts @@ -129,13 +129,17 @@ class VEvent { } } - setCalendar(calendar: string) { + set calendar(calendar: string | null) { this._calendar = calendar; for (let el of this.registered) { el.redraw(this); } } + get calendar(): string | null { + return this._calendar; + } + register(htmlNode: Redrawable) { this.registered.push(htmlNode); } |