diff --git a/src/App.ts b/src/App.ts index e46c738..a9d9d90 100644 --- a/src/App.ts +++ b/src/App.ts @@ -166,7 +166,7 @@ export default class App extends Vue }) } - onImageClick(index: number) + onImageClick(artwork: Artwork, index: number) { // @ts-ignore this.$refs.ps.show(this.swipeItems(), {index: index}); diff --git a/src/App.vue b/src/App.vue index 2013d93..6251844 100644 --- a/src/App.vue +++ b/src/App.vue @@ -15,7 +15,8 @@ -
+
{{artwork.title}}
{{artwork.rawDate}}