<Swiper direction="vertical" class="home-swiper" :resistanceRatio="0"…
- User
<Swiper direction="vertical" class="home-swiper" :resistanceRatio="0" :modules="swiperModules" @slideChange="onOuterSlideChange" @swiper="onOuterSwiper" v-if="widgetList[0]?.length" > <Swiper observer: true class="second-swiper" :nested="true" direction="vertical" slidesPerView="auto" :resistanceRatio="0" :modules="swiperModules" :freeMode="{ enabled: true }" @swiper="onInnerSwiper" @sliderMove="onInnerSliderMove" @touchStart="onInnerSliderStart" @transitionEnd="onTransitionEnd" > <component :style="{ ...(componentIndex + 1 === widgetItem.length && {paddingBottom:tabbarHeight + 'px'}) }" v-for="(componentItem, componentIndex) in widgetItem" :key="componentItem.uuid" :is="filterComponent(componentItem.categoryType)" :properties="componentItem" @updateSlideHeight="onUpdateSlideHeight" >
- Assistant
This code snippet shows a nested Swiper component in a vertical direction. The outer Swiper component has the following props and event listeners: