Skip to content

Commit 01c1e86

Browse files
committed
Update the documentation.
1 parent 00ca5a0 commit 01c1e86

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

src/documentation/index.vue

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1594,6 +1594,7 @@
15941594
parallax: [Boolean, Number], default: false
15951595
parallaxFixedContent: [Boolean], default: false
15961596
pauseOnHover: [Boolean], default: true
1597+
pauseOnTouch: [Boolean], default: true
15971598
preventYScroll: [Boolean], default: false
15981599
progress: [Boolean], default: false
15991600
rtl: [Boolean], default: false
@@ -1797,10 +1798,18 @@
17971798
li
17981799
| #[code pauseOnHover], #[strong.mr-1 Type:] #[span.code="[Boolean]"], #[strong.mr-1 Default:] #[span.code true]
17991800
p.
1800-
If #[span.code autoplay] is on, setting #[span.code pauseOnHover] stops the autoplay
1801+
If #[span.code autoplay] is on, setting #[span.code pauseOnHover] stops the autoplay
18011802
while hovering then resets to the defined #[span.code duration] when you stop hovering.#[br]
18021803
See this setting live in the #[a(href="#ex--basic" v-scroll-to="'#ex--basic'") Basic with Autoplay] example.
18031804

1805+
li
1806+
| #[code pauseOnTouch], #[strong.mr-1 Type:] #[span.code="[Boolean]"], #[strong.mr-1 Default:] #[span.code true]
1807+
p.
1808+
If #[span.code autoplay] is on, setting #[span.code pauseOnTouch] stops the autoplay
1809+
as soon as you touch any element contained in the slideshow.#[br]
1810+
When you touch outside of the slideshow, the autoplay resumes.#[br]
1811+
See this setting live in the #[a(href="#ex--basic" v-scroll-to="'#ex--basic'") Basic with Autoplay] example.
1812+
18041813
li
18051814
| #[code preventYScroll], #[strong.mr-1 Type:] #[span.code="[Boolean]"], #[strong.mr-1 Default:] #[span.code false]
18061815
p.
@@ -2152,6 +2161,11 @@
21522161
.title.mr-3 Version 3.0
21532162
| Supports Vue 3. This version is not compatible with Vue 2.x.
21542163

2164+
li.mb-2
2165+
strong.mr-3 Version 2.13
2166+
ul
2167+
li Added the #[span.code pauseOnTouch] option (only for autoplay) and enables it by default.
2168+
21552169
li.mb-2
21562170
strong.mr-3 Version 2.12
21572171
ul

0 commit comments

Comments
 (0)