Skip to content

Latest commit

 

History

History
84 lines (59 loc) · 3.08 KB

File metadata and controls

84 lines (59 loc) · 3.08 KB

⚡ 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