diff --git a/src/App.ts b/src/App.ts index d44f927..68934bd 100644 --- a/src/App.ts +++ b/src/App.ts @@ -162,4 +162,12 @@ export default class App extends Vue } }) } + + onImageClick(index: number) + { + if (!this.loaded) return; + + // @ts-ignore + this.$refs.ps.show(this.swipeItems, {index: index}); + } }