1.0.10 • Published 5 months ago

@xuda.io/xuda-ui-plugin-draggabilly v1.0.10

Weekly downloads
-
License
Proprietary softw...
Repository
-
Last release
5 months ago

Xuda Swiper Plugin

The Xuda Swiper Plugin integrates the Swiper slider library into the Xuda platform, allowing you to build interactive, responsive, and touch-friendly carousels within your UI.


Features

  • Horizontal or Vertical: Choose the slide direction to fit your layout needs.
  • Looping and Autoplay: Continuously cycle through slides or automatically advance them after a set delay.
  • Various Effects: Enhance transitions with different effects, including slide, fade, cube, coverflow, and flip.
  • Conditional Properties: Certain effect-specific properties only appear when that effect is selected, simplifying the interface.
  • Navigation and Pagination: Add 'next' and 'prev' arrows, pagination bullets, fractions, or progressbars for intuitive navigation.
  • Mousewheel and Grab Cursor: Enable mousewheel control and a grab cursor for more engaging interactions.

Usage in Xuda Studio

  1. Open Xuda Studio: Visit Xuda.io and open your project.
  2. Select a Component: Choose the component where you'd like to integrate the Swiper slider.
  3. Configure Properties: Adjust the slider settings, such as direction, effect, autoplay, pagination, and more.
  4. Preview Changes: See results in real-time as you tweak properties, ensuring the slider matches your desired look and feel.

Properties Overview

PropertyTypeDescriptionDefault ValueCondition
directionstringSet the slider direction (horizontal or vertical).horizontal
loopbooleanEnable continuous loop mode.false
speednumberTransition duration between slides (ms).300
slidesPerViewnumberNumber of slides visible in a single view.1
spaceBetweennumberSpace between slides in pixels.10
effectstringTransition effect between slides (slide, fade, cube, coverflow, flip).slide
cubeEffect_shadowbooleanEnable/disable shadow effect in cube transitions.trueOnly if effect = cube
cubeEffect_slideShadowsbooleanShow slide shadows in cube effect transitions.trueOnly if effect = cube
cubeEffect_shadowOffsetnumberAdjust cube shadow distance.20Only if effect = cube
cubeEffect_shadowScalenumberScale of the cube shadow.0.94Only if effect = cube
coverflowEffect_rotatenumberDegrees to rotate slides in coverflow effect.50Only if effect = coverflow
coverflowEffect_stretchnumberMultiplies space between slides in coverflow.0Only if effect = coverflow
coverflowEffect_depthnumberDepth offset for slides in 3D space in coverflow.100Only if effect = coverflow
coverflowEffect_modifiernumberMultiplier affecting coverflow transforms.1Only if effect = coverflow
coverflowEffect_slideShadowsbooleanEnable/disable slide shadows in coverflow mode.trueOnly if effect = coverflow
autoplaybooleanAutomatically advance slides after a delay.false
autoplayDelaynumberDelay between slides in autoplay mode (ms).3000Only applicable if autoplay = true
navigationbooleanShow 'next' and 'prev' navigation arrows.true
navigation_custom_elementsbooleanIf enabled, define custom elements with 'swiper-button-next' and 'swiper-button-prev'.falseOnly if navigation = true
paginationbooleanShow pagination (bullets, fraction, or progressbar).true
custom_pagination_elementbooleanIf enabled, predefine .swiper-pagination element in layout.false
pagination_typestringPagination style (progressbar, bullets, or fraction).progressbarOnly if pagination = true
pagination_clickablebooleanEnable clickable pagination bullets for direct navigation.false
scrollbarbooleanShow a draggable scrollbar.false
mousewheelbooleanControl slides using the mouse wheel.false
grabCursorbooleanDisplay a grab cursor when hovering over the slider.false

Notes

  • Conditional Properties: Properties related to cubeEffect or coverflowEffect are only visible when those effects are selected, reducing UI clutter.
  • Autoplay and Pagination: Autoplay and pagination can be combined to create a hands-free, guided tour of your slides.
  • Custom Elements: By enabling custom navigation or pagination elements, you can control the exact positioning and styling of these controls in your layout.

Further Resources