Move
Responsible for calculating a movement distance
Usage type: required
This module is requisite and it's imported within a bundle.
Properties
value
type: {Number}
- Usage: Holds an actual movement value corrected by an offset
translate
type: {Number}
- Usage: Holds a raw movement value calculated based on the current index
offset
type: {Number}
- Usage: Holds an offset value used to modify current translate value
Methods
mount()
- Usage: Mounts and initializes a component
make(offset)
Arguments:
{Number} offset
Usage: Calculates a movement value based on the passed offset and currently active index