Chapter 2. Adding Ionic 2 Components

In this chapter, we will cover the following tasks related to using Ionic 2 components:

  • Adding multiple pages using tabs
  • Adding left and right menu navigation
  • Navigating multiple pages with state parameters

Introduction

It's possible to write a simple app with a handful of pages. Ionic provides a lot of out-of-the-box components that allow simple plug-n-play operations. When the app grows, managing different views and their custom data at a specific time or triggered event could be very complex. Ionic 2 comes with some changes in handling state and navigation. In Ionic 1, you could use UI-Router for advanced routing management mechanism. In Ionic 2, NavController will enable the push/pop implementation of the navigation. ...

Get Ionic 2 Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.