aboutsummaryrefslogtreecommitdiff
path: root/static/components
diff options
context:
space:
mode:
Diffstat (limited to 'static/components')
-rw-r--r--static/components/changelog.ts2
-rw-r--r--static/components/input-list.ts2
-rw-r--r--static/components/tab-group-element.ts2
-rw-r--r--static/components/vevent-description.ts4
4 files changed, 3 insertions, 7 deletions
diff --git a/static/components/changelog.ts b/static/components/changelog.ts
index 8f45794d..831e4ced 100644
--- a/static/components/changelog.ts
+++ b/static/components/changelog.ts
@@ -6,7 +6,7 @@ export { VEventChangelog }
class VEventChangelog extends ComponentVEvent {
- ul: HTMLElement
+ readonly ul: HTMLElement
constructor(uid?: string) {
super(uid);
diff --git a/static/components/input-list.ts b/static/components/input-list.ts
index 899e8f4f..c31066da 100644
--- a/static/components/input-list.ts
+++ b/static/components/input-list.ts
@@ -10,7 +10,7 @@ class InputList extends HTMLElement {
el: HTMLInputElement;
- _listeners: [string, (e: Event) => void][] = [];
+ private _listeners: [string, (e: Event) => void][] = [];
constructor() {
super();
diff --git a/static/components/tab-group-element.ts b/static/components/tab-group-element.ts
index dc97df93..e84da19f 100644
--- a/static/components/tab-group-element.ts
+++ b/static/components/tab-group-element.ts
@@ -21,7 +21,7 @@ export { TabGroupElement }
*/
class TabGroupElement extends ComponentVEvent {
- menu: HTMLElement;
+ readonly menu: HTMLElement;
tabs: HTMLElement[] = [];
tabLabels: HTMLElement[] = [];
diff --git a/static/components/vevent-description.ts b/static/components/vevent-description.ts
index b1605d50..09c836b0 100644
--- a/static/components/vevent-description.ts
+++ b/static/components/vevent-description.ts
@@ -8,10 +8,6 @@ import { makeElement } from '../lib'
<vevent-description />
*/
class ComponentDescription extends ComponentVEvent {
- constructor() {
- super();
- }
-
redraw(data: VEvent) {
// update ourselves from template