Custom components in Ionic 3 - Tutorial
Ionic provides lot components by default, but if we want to customize our App more we can create custom components. Using custom components reduce a lot of development effort and makes the app development faster & optimized. This tutorial describes creating custom components and using them in the pages across the App and also describes passing data between page and custom component. Let's get started... First, generate a component using the following command in the ionic CLI. In this scenario, we are using an input text custom component. ionic generate component my-text The above command will create my-text component under src/components directory src/components/my-text.ts import { Component } from '@angular/core'; /** * Generated class for the MyTextComponent component. * * See https://angular.io/api/core/Component for more info on Angular * Components. */ @Component({ selector: 'my...