Open RomainFrancony opened 6 years ago
As in #27, I needed more controls on Impetus lifecycle so I added events :
onStart
onStartDecelerating
onEndDecelerating
Caution update is now onUpdate in order to be more consistent on naming
update
onUpdate
I added a few dependencies in order to be able to build on Windows (for rm and cp command)
rm
cp
👍
Events
As in #27, I needed more controls on Impetus lifecycle so I added events :
onStart
: called when starting to drag the elementonStartDecelerating
: called when the deceleration begunonEndDecelerating
: called when the deceleration has endedCaution
update
is nowonUpdate
in order to be more consistent on namingBuild on Windows
I added a few dependencies in order to be able to build on Windows (for
rm
andcp
command)