#47 : Add swiping prop

This commit is contained in:
Vadim
2021-07-24 15:14:45 +03:00
parent da7d8ac705
commit f51421b5bf
4 changed files with 27 additions and 3 deletions

View File

@@ -90,6 +90,11 @@
*/
export let dots = true
/**
* Enable swiping
*/
export let swiping = true
export async function goTo(pageIndex, options) {
const animated = get(options, 'animated', true)
if (typeof pageIndex !== 'number') {