Basic Animation Framework
SwapView.elm module starts from the Basic Animation Framework and uses it to animate swapping visibility between two different view elements.
Listening to Completed Animations
FinishAnimation.elm module extends the SwapView example to add the capability to send notifications at the end of an animation.
Modules.elm example takes what's been done in the previous parts and splits the functionality across different modules:
- Modules.elm: The main entry point/custom app example.
- Animation/Architecture.elm: The foundational, reusable pieces of the architecture.
- AppAnimations.elm: The custom animations for the app (that would be reused across different view components).
- Update/Extra.elm: The small extension functions for use with the
updatefunction, refactored. These may be bundled as a separate package in the future.
Modules.elm is a complete example, some of its parts provide a similar-but-incomplete basis as the basic Elm Architecture.
MinimalModules.elm provides a "minimal" version of the modularized code to use as a starting template for future work.