β‘ Ionic Angular Custom Animations
- Creates custom animation of block moving horizontally across the screen
- Creates second page with custom navigation using animated transition
- updated to use latest Ionic 5 animation methods
- Run
npm i
to install dependencies
- To start the server on localhost://8100 type: 'ionic serve -o'
- animation of nav forward direction:
if (opts.direction === 'forward') {
return animationCtrl
.create()
.addElement(opts.enteringEl)
.duration(DURATION)
.easing('ease-in')
.fromTo('opacity', 0, 1);
}
- Animation parameters such as opacity, ease-in & ease-out times, duration, etc. can be customised. See 'Inspiration' below.
- Status: Working.
- To-do: Nothing
- This project is licensed under the terms of the MIT license.