Sizes

Manages and sets dimensions of the instance elements

Usage type: required

This module is requisite and it's imported within a bundle.

Properties

length type: {Number}

  • Usage: Holds a number of slides

width type: {Number}

  • Usage: Holds a dimension of the instance viewport

wrapperWidth type: {Number}

  • Usage: Holds a dimension of the slides wrapper

slideWidth type: {Number}

  • Usage: Holds a dimension of the single slide reduced by settings

Methods

setupSlides()

  • Usage: Applies dimensions to the slide elements

setupWrapper()

  • Usage: Applies dimensions to the slides wrapper element

remove()

  • Usage: Clears all applied dimensions from instance elements