Transition

Controls transition durations of the instance

Usage type: required

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

Properties

duration type: {Number}

  • Usage: Holds duration of the transition based on currently running animation type

Methods

compose(property)

  • Arguments:

    • {String} property
  • Usage: Returns a value of CSS transition property based on duration


set(property)

  • Arguments:

    • {String} property
  • Usage: Applies transition declaration to wrapper HTML element


remove()

  • Usage: Clears transition declarations from wrapper HTML element

after(callback)

  • Arguments:

    • {Function} callback
  • Usage: Call specified callback after a transition


disable()

  • Usage: Disables transitions. The instance will make immediately jumps to indexes instead of smooth movements

enable()

  • Usage: Enables previously disabled transitions