Modules

A module in Slidem does not render the view, it handles a few of functionability features. Some moudles can be enabled or disabled by configuration options, some are necessary to be excuted.

Built-in modules

Breakpoint

Make the slider mobile-friendly.

Transition

The control of transition effect for each slide item.

Trasnform

Position the slide items horizontally.

Autoplay

Autoplay the carousel.

Grouping

Set the grouping number for each slide item.

Columns

For displaying columns in the visible area of the slider. Set the width of each slide item.

Preview

Preview the edge of the previois and next item.

Spacing

The spacing between each slide item.

Align

Align the slide items vartically.

Touch

Add support for mobile devices to touch left and right swipe.

Clone

Clone the slide items to the left and right sides. This moudle will not clone any item if the options loop and preview are disabled.

Slide

The most important module in Slidem.

Loop

Handle the items when the option loop is enabled.

Init

Do things in the initializing statge.

Customization

The go API allows you use your customized module in your component.

sliderm.go('moduleName', ...args) {