[+] Create constructor for artwork
This commit is contained in:
@@ -21,6 +21,14 @@
|
|||||||
title: string;
|
title: string;
|
||||||
format: string;
|
format: string;
|
||||||
|
|
||||||
|
constructor(date: string, title: string, format: string)
|
||||||
|
{
|
||||||
|
this.rawDate = date;
|
||||||
|
this.title = title;
|
||||||
|
this.format = format;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Component
|
@Component
|
||||||
export default class App extends Vue
|
export default class App extends Vue
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user