Generative AI for Technical Writer or Information Developers
Gdg ionic 2
1. Before we start…
Save time by installing these first
Npm (http://tinyurl.com/nodejs-en-
download)
Then open command line/bash
Today’s source code:
http://tinyurl.com/gdg-ionic2
Code editor: https://code.visualstudio.com
$ npm install -g ionic
$ git fetch --all
Getting Started With Ionic 2
3. Lim Shang Yi
• Full stack Developer @
• Angular 1/Angular 2
• Ionic
4. What is Ionic
• Cross platform mobile development
framework
• Angular 2 powered
• Write once, deploy on different devices
• Runs on browser and devices
• Debug on browser
11. Todo list empty state
• Add an message to inform users how to
get started.
• Add a floating action button (FAB) to
compose a new to-do
• Clicking the compose button will bring
you to the create todo page
12. Create To-do Page
• Add text boxes for details of to-do
• Add button to save the data
• Add some color to the to do
• Data saved to native storage
13. Storing into Native Storage
• We will need to store the data into a persistent storage
• NativeStorage, SecureStorage, SQLite
• Requires cordova
• Cordova plugins can be run in the browser with
$ ionic plugin add cordova-plugin-nativestorage
$ ionic run browser