diff --git a/src/App.ts b/src/App.ts index 453268e..d44f927 100644 --- a/src/App.ts +++ b/src/App.ts @@ -148,4 +148,18 @@ export default class App extends Vue background: config.footer.background } } + + get swipeItems() + { + return this.artworks.map(a => + { + return { + src: a.imgFull, + alt: a.title, + title: a.title, + w: a.width, + h: a.height + } + }) + } }