vue-picture-swipe
vue-picture-swipe copied to clipboard
Add slot and disable open of modal when clicking children
This is to let users be able to add other properties needed to display aside from the image itself and not to open the modal when these are clicked.
Users will be able to use the following
<template v-slot="{item, index}">
{{index}}
{{item}}
</template>