Categories
Ionic Tutorials

How to add Chart to your Ionic Angular App

You need to add chart to you ionic angular app. What are the options. Ngx Charts Ng2 Charts Ngx Charts It has a great online demo. Looking at the demo you have dozen of different chart choices. From Bar Chart to Line Chart to Pie Chart. I think it also comes with two color schemes […]

Categories
Tutorials

Swapping variables values hasn’t been that easy in JavaScript

Now with new language features Javascript swap variable values very easily. While doing laundry a thought popped up in my mind and how it relates to JavaScript. Imagine the following picture. Now how you could swap clothes from these two machines. You do need a temporary container to hold clothes from side and make the […]

Categories
Tutorials

Use Recursive Types in Typescript

Interface is such a nice feature in Typescript for custom static type checking. Main reason is to make your code less error prone but I use it primarily for intellisense. Today we will be discussing recursive types. I need to modal the accordion in HTML using following object. { title: “Parent”, expanded: true, subItems: [ […]

Categories
Tutorials

Implement Show Hide Password in Ionic/Angular

We are required to create secure passwords. For secure password we need to follow some strict rules. Some of these rules are: – At least one uppercase alphabet – At least one special character – At least 12 characters and the list goes on. While keeping these requirements, visitors to your website can have a […]

Categories
Tutorials

Let Geo location work on Hybrid Mobile Apps

I’ll focus on Geo location with Ionic framework but same is true for others (All of them that use cordova/phonegap in one way or the other such as nativscript, weex, quasar). By Hybrid mobile apps I mean apps that uses web technologies and cordova to run native on handheld devices. Using a native feature in […]