Skip to content

Files

Latest commit

 

History

History
63 lines (36 loc) · 1.09 KB

transition.md

File metadata and controls

63 lines (36 loc) · 1.09 KB
title layout slug algolia
Transition
docs.html
transition
true

[[lead]]Controls transition durations of the instance[[/lead]]

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 immediate jumps to indexes instead of smooth movements

enable()

  • Usage: Enables previously disabled transitions