Changelog
3.1.0 - Released on July 14th, 2015
paginationBulletMessage: 'Go to slide {{index}}'
controlBy
which can be 'slide' (by default) or 'container'. Defines a way how to control another slider: slide by slide or depending on all slides/container (like before)controlBy: 'slide'
(default) mode will respect grid of each otherpaginationElement
parameter defines which HTML tag will be used to represent single pagination bullet. By default it is span
roundLengths
parameter (by default is false
) to round values of slides width and height to prevent blurry texts on usual resolution screensslidesOffsetBefore: 0
and slidesOffsetAfter: 0
(in px) parameters to add additional slide offset within a container.swiper-container
onlyExternal
during touchmoveswiper.jquery.umd.js
version for the environment where both Swiper and jQuery included as modulesChangelog
3.0.8 - Released on June 14th, 2015
mousewheelReleaseOnEdges
- will release mousewheel event and allow page scrolling when swiper is on edge positions (in the beginning or in the end)mousewheelInvert
- option to invert mousewheel slidesslidesPerView
> 1slidesPerColumn
> 1)Changelog
3.0.7 - Released on April 25th, 2015
width
and height
parameters to force Swiper size, useful when it is hidden on intializationdata-background
attribute on required elementsfreeModeSticky
parameter) which will snap to slides positions in free modeChangelog
3.0.6 - Released on March 27th, 2015
.destroy(deleteInstance, cleanupStyles)
method now has second cleanupStyles
argument, when passed - all custom styles will be removed from slides, wrapper and container. Useful if you need to destroy Swiper and to init again with new options or in different directionChangelog
3.0.5 - Released on March 21st, 2015
a11y: false
- enable accessibilityprevSlideMessage: 'Previous slide'
- message for screen readers for previous buttonnextSlideMessage: 'Next slide'
- message for screen readers for next buttonfirstSlideMessage: 'This is the first slide'
- message for screen readers for previous button when swiper is on first slidelastSlideMessage: 'This is the last slide'
- message for screen readers for next button when swiper is on last slide.on(event, handler)
- add event/callback.off(event, handler)
- remove this event/callback.once(event, handler)
- add event/callback that will be executed only oncesetWrapperSize
(be default it is false
) to provide better compatibility with browser without flexbox support. Enabled this option and plugin will set width/height on swiper wrapper equal to total size of all slidesvirtualTranslate
parameter. When it is enabled swiper will be operated as usual except it will not move. Useful when you may need to create custom slide transitiononLazyImage...
callbacksslidesPerGroup
Changelog
3.0.4 - Released on March 6th, 2015
lazyLoading
, lazyLoadingInPrevNext
, lazyLoadingOnTransitionStart
(all disabled by default)onLazyImageLoad
and onLazyImageReady
updateOnImages
ready split into 2 parameters:
preloadImages
(by default is true) - to preload all images on swiper initupdateOnImages
(by default is true) - update swiper when all images loadedonObserverUpdate
callback function to be called after updates by observerpaginationBulletRender
parameter that accepts function which allow custom pagination elements layoutrunCallbacksOnInit
parameterwatchVisibility
parameter renamed to watchSlidesVisibility
Changelog
3.0.3 - Released on March 1st, 2015
crossFade
option for fade effectChangelog
3.0.2 - Released on February 22nd, 2015
.update
method improved to fully cover what onResize
do for full and correct updateswiper.touches
object with the following properties: startX
, startY
, currentX
, currentY
, diff
.removeSlide(index)
or .removeSlide([indexes])
- to remove selected slides.removeAllSlides()
- to remove all slidesChangelog
3.0.1 - Released on February 13th, 2015
Changelog
3.0.0 - Released on February 11th, 2015
overflow: auto
with -webkit-overflow-scrolling: touch
slidesPerColumn
optionborder-box
now, so it is possible to use borders and paddings directly on slidesslidesPerView: 'auto'
) now gives more freedom, you can even specify slides sizes in % and use margins on them