You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<spanclass="line"><spanstyle="--shiki-light:#24292E;--shiki-dark:#E1E4E8;"></</span><spanstyle="--shiki-light:#22863A;--shiki-dark:#85E89D;">script</span><spanstyle="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">></span></span></code></pre></div><h2id="before-init" tabindex="-1"><code>@before-init</code><aclass="header-anchor" href="#before-init" aria-label="Permalink to "`@before-init`""></a></h2><p>Triggers before the carousel initialized</p><h2id="init" tabindex="-1"><code>@init</code><aclass="header-anchor" href="#init" aria-label="Permalink to "`@init`""></a></h2><p>Triggers once the carousel is mounted and completely initialized</p><h2id="slide-start" tabindex="-1"><code>@slide-start</code><aclass="header-anchor" href="#slide-start" aria-label="Permalink to "`@slide-start`""></a></h2><p>Triggers at the binging of sliding function. it emits the following data:</p><ul><li><code>slidingToIndex</code></li><li><code>currentSlideIndex</code></li><li><code>prevSlideIndex</code></li><li><code>slidesCount</code></li></ul><h2id="slide-end" tabindex="-1"><code>@slide-end</code><aclass="header-anchor" href="#slide-end" aria-label="Permalink to "`@slide-end`""></a></h2><p>Triggers after finishing of sliding function and the current slide has been update. it emits the following data:</p><ul><li><code>currentSlideIndex</code></li><li><code>prevSlideIndex</code></li><li><code>slidesCount</code></li></ul><h2id="loop" tabindex="-1"><code>@loop</code><aclass="header-anchor" href="#loop" aria-label="Permalink to "`@loop`""></a></h2><p>Triggers after the carousel is going to loop over, only on <code>wrap-around</code> mode. it emits the following data:</p><ul><li><code>slidingToIndex</code></li><li><code>currentSlideIndex</code></li></ul></div></div></main><footerclass="VPDocFooter" data-v-39a288b8data-v-e257564d><!--[--><!--]--><!----><navclass="prev-next" aria-labelledby="doc-footer-aria-label" data-v-e257564d><spanclass="visually-hidden" id="doc-footer-aria-label" data-v-e257564d>Pager</span><divclass="pager" data-v-e257564d><aclass="VPLink link pager-link prev" href="/vue3-carousel/api/data.html" data-v-e257564d><!--[--><spanclass="desc" data-v-e257564d>Previous page</span><spanclass="title" data-v-e257564d>Data</span><!--]--></a></div><divclass="pager" data-v-e257564d><!----></div></nav></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><!----><!--[--><!--]--></div></div>
0 commit comments