Animations for elm-transit, to be used on elm-html attributes.
div
(fadeSlide 100 model.transition)
[ text "Some content" ]
div
(onClick (Click Page1) :: fadeZoom 0.05 model.transition)
[ text "Some content" ]Combine fade and zoom with specified offset
Slide animation, with the specified offset. Greater than 0 to right, lesser to left.
Slide out (exit) by translating on X for desired offset
Slide in (enter) by translating on X for desired offset
Fade animation
Fade out (exit).
Fade in (enter).
Zoom animation
Zoom in (enter)
Zoom out (exit)
Compose an animation with exit and enter phases.
Combine fade and slideLeft with the specified offset