aboutsummaryrefslogtreecommitdiff
path: root/Website/scripts/main.ts
diff options
context:
space:
mode:
Diffstat (limited to 'Website/scripts/main.ts')
-rw-r--r--Website/scripts/main.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/Website/scripts/main.ts b/Website/scripts/main.ts
index 9f8862b..83712d4 100644
--- a/Website/scripts/main.ts
+++ b/Website/scripts/main.ts
@@ -21,6 +21,10 @@ class Article {
this.Container.appendChild(this.Title);
this.Container.appendChild(this.Image);
}
+
+ visualise(root: HTMLElement): void {
+ root.appendChild(this.Container);
+ }
}
let root = document.getElementById('root');