UNPKG
@popmotion/popcorn
Version:
beta (0.4.1-rc2)
latest (0.4.4)
0.4.4
0.4.3
0.4.2
0.4.1
0.4.1-rc2
0.4.1-rc
0.4.0
0.3.9
0.3.6
0.3.5
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.2.0
0.1.2
0.1.1
0.1.0
0.0.1
Utility functions for animation and interactions.
github.com/Popmotion/popmotion
Popmotion/popmotion
@popmotion/popcorn
/
lib
/
easing
/
steps.d.ts
4 lines
(3 loc)
•
170 B
TypeScript
View Raw
1
2
3
4
export
declare
type
Direction
=
'start'
|
'end'
;
declare
const
_default
:
(
steps
:
number
,
direction
?:
Direction
) =>
(
progress
:
number
) =>
any
;
export
default
_default;