From 6f5214764b64b90cef2c4d4714e25b82d8176eb1 Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Mon, 23 Dec 2019 09:03:46 -0500 Subject: [PATCH] [+] Create constructor for artwork --- src/App.vue | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/App.vue b/src/App.vue index 6de0bbe..b31cd9f 100644 --- a/src/App.vue +++ b/src/App.vue @@ -21,6 +21,14 @@ title: string; format: string; + constructor(date: string, title: string, format: string) + { + this.rawDate = date; + this.title = title; + this.format = format; + } + } + @Component export default class App extends Vue {