Skip to content

📋 Ionic app using custom animations. Another excellent tutorial from Simon Grimm at the Ionic Academy

License

Notifications You must be signed in to change notification settings

AndrewJBateman/ionic-angular-customAnim

Repository files navigation

⚡ Ionic Angular Custom Animations

GitHub repo size GitHub pull requests GitHub Repo stars GitHub last commit

📄 Table of contents

📚 General info

  • 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

📷 Screenshots

image

📶 Technologies

💾 Setup

  • Run npm i to install dependencies
  • To start the server on localhost://8100 type: 'ionic serve -o'

💻 Code Examples

  • animation of nav forward direction:
if (opts.direction === 'forward') {
  return animationCtrl
  .create()
  .addElement(opts.enteringEl)
  .duration(DURATION)
  .easing('ease-in')
  .fromTo('opacity', 0, 1);
}

🆒 Features

  • Animation parameters such as opacity, ease-in & ease-out times, duration, etc. can be customised. See 'Inspiration' below.

📋 Status & To-do list

  • Status: Working.
  • To-do: Nothing

👏 Inspiration

📁 License

  • This project is licensed under the terms of the MIT license.

✉️ Contact