Book Image

Getting Started with Ionic

By : Rahat Khanna
Book Image

Getting Started with Ionic

By: Rahat Khanna

Overview of this book

Hybrid Apps are a promising choice in mobile app development to achieve cost effectiveness and rapid development. However, they were not preferred over native apps until few years back due to a poor performance and bad user experience, but everything has changed with the release of Ionic. It has evolved as the most popular choice for Hybrid Mobile App development as it tends to match the native experience and provides robust components/tools to build apps. Getting Started with Ionic equips any web developer with the basic knowledge needed to use modern web technologies to build amazing hybrid mobile apps using Ionic. This fast-paced, practical book explains all the important concepts of AngularJS and Cordova Framework required to develop apps, then gives you a brief introduction to hybrid mobile applications. It will guide you through setting up the environment to develop mobile apps, and through the multiple options and features available in Ionic so you can use them in your mobile apps. Features such as the Side Menu, Tabs, Touch Interactions, and native features such as Bar Code, Camera, and Geolocations are all covered.. Finally, we’ll show you how to use Cordova plugins and publish your apps.
Table of Contents (17 chapters)
Getting Started with Ionic
About the Author
About the Reviewer

Ionic CSS components

Mobile Apps are required to provide an engaging user experience. The styles and look and feel are represented by CSS in a Hybrid Mobile App. It takes a lot of time for a developer to write the CSS styles for multiple device screen sizes and so many UI elements. Ionic Framework provides reusable CSS styles that help developers in creating awesome Mobile Apps and decrease the development time rapidly. We will be discussing different CSS styles available for developers to use and customize.


The header corresponds to the static and fixed region on the top of the screen, which can contain a title in the center and buttons on the left or right. Headers have their own CSS class and also for showing different header colors. For example:

<div class='bar bar-header bar-{color}'>
  <h1 class='title'> Header </h1>

We can replace {color} with the color themes available in Ionic, for example, light, stable, positive, calm, balanced, energized, assertive...