aboutsummaryrefslogtreecommitdiff
path: root/static/vevent.ts
diff options
context:
space:
mode:
Diffstat (limited to 'static/vevent.ts')
-rw-r--r--static/vevent.ts6
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);
}