Posts

Ionic 3 Dynamic Side Menu Example

Image
Most of the web apps contain side menu or navigation drawer as the main menu and needs the content or items to be dynamic. This tutorial describes setting up dynamic items or content in the side menu using Ionic 3. In this tutorial I'm using ionic sidemenu starter project refer my previous blog for creating ionic sidemenu starter project. Let's get started... To set up dynamic items or content for side menu we can use Ionic Events  as I'm using in this example. Ionic events is a publish-subscribe style event system for sending and responding to application-level events across the app. In this example, I'm considering a dummy login and logout functionality ie., when the user logs in and logs out the items or content of the side menu will be changed. To begin let's first import Events in app.componenent.ts. app,component.ts import { Component, ViewChild } from '@angular/core'; import { Nav, Platform } from 'ionic-angular'

Custom components in Ionic 3 - Tutorial

Image
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-text',   templateUrl:

Best smartphones under 15000 India June 2018

Image
Nowadays people find it difficult to buy smartphones of their choice. The reason is the variety of smartphones with different specifications and pricing. Due to the competition in the market, there are a vast number of good and affordable smartphones are released into the market almost every month. It is never easy to buy a smartphone in one shot. Here are some best smartphones priced at around 15000 rupees which are highly popular and recommended. Key things to be considered before buying a smartphone are performance, storage, power consumption, design & connectivity. Performance in terms of response time, interactiveness, for game lovers the gaming experience, basically the speed of the phone to complete a task or operation. Storage or memory in terms of data storage capacity. Power consumption in terms of battery backup or battery life. Design in terms of its looks and impressions and also the build quality. List of best smartphones under 15000 1. Realme 1 @