#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

@@ -56,6 +56,11 @@
*/
export let dots = true
/**
* Enable swiping
*/
export let swiping = true
const colors = [
'#e5f9f0',
'#ccf3e2',
@@ -83,6 +88,7 @@
{pauseOnFocus}
{autoplayProgressVisible}
{dots}
{swiping}
let:showPrevPage
let:showNextPage
>
@@ -138,4 +144,4 @@
cursor: pointer;
-webkit-tap-highlight-color: transparent;
}
</style>
</style>