-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Could be nice to have an option to make an animation yoyo back to it's first frame
For something like this animation:
Instead of writing:
pulseOpacity : Animation
pulseOpacity =
Animation.steps
{ startAt = [ P.opacity 1 ]
, options = [ Animation.loop ]
}
[ Animation.step 800 [ P.opacity 0 ]
, Animation.step 800 [ P.opacity 1 ]
]You could have a shorthand like:
pulseOpacity : Animation
pulseOpacity =
Animation.fromTo
{ duration = 800
, options = [ Animation.loop, Animation.yoyo ]
}
[ P.opacity 1 ]
[ P.opacity 0 ]Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
