Jenell Pizarro
Human with pink hair who does talks on things sometimes :).
A React Developer's Journey into Angular
@nellarro
Jenell Pizarro
@nellarro
Crossing Over to the Dark Side
jenellpizarro.com
React
@nellarro
Jenell Pizarro
@nellarro
Crossing Over to the Dark Side
Angular
@nellarro
Crossing Over to the Dark Side
@nellarro
Crossing Over to the Dark Side
@nellarro
Crossing Over to the Dark Side
@nellarro
Crossing Over to the Dark Side
@nellarro
import { ActionSheetController } from 'ionic-angular';
export class MyPage {
constructor(public actionSheetCtrl: ActionSheetController) {
}
presentActionSheet() {
let actionSheet = this.actionSheetCtrl.create({
title: 'Modify your album',
buttons: [
{
text: 'Destructive',
role: 'destructive',
handler: () => {
console.log('Destructive clicked');
}
},{
text: 'Archive',
handler: () => {
console.log('Archive clicked');
}
},{
text: 'Cancel',
role: 'cancel',
handler: () => {
console.log('Cancel clicked');
}
}
]
});
actionSheet.present();
}
}
@nellarro
Crossing Over to the Dark Side
@nellarro
Crossing Over to the Dark Side
@nellarro
Crossing Over to the Dark Side
@nellarro
Crossing Over to the Dark Side
@nellarro
Crossing Over to the Dark Side
this slide left blank for...
dramatic effect.
@nellarro
Crossing Over to the Dark Side
@nellarro
Crossing Over to the Dark Side
Angular/Ionic
@nellarro
Crossing Over to the Dark Side
<ion-list>
<ion-item ng-repeat="item in items" item="item">
List Item {{ item.id }}
</ion-item>
</ion-list>
@nellarro
Crossing Over to the Dark Side
@nellarro
Crossing Over to the Dark Side
Jenell's actual, real-life conversations with React while learning Angular/Ionic
@nellarro
Crossing Over to the Dark Side
<ion-menu [content]="content">
<ion-header>
<ion-toolbar>
<ion-title>Menu</ion-title>
</ion-toolbar>
</ion-header>
<ion-content>
<ion-list>
<button ion-item (click)="openPage(homePage)">
Home
</button>
<button ion-item (click)="openPage(friendsPage)">
Friends
</button>
<button ion-item (click)="openPage(eventsPage)">
Events
</button>
<button ion-item (click)="closeMenu()">
Close Menu
</button>
</ion-list>
</ion-content>
</ion-menu>
<ion-nav id="nav" #content [root]="rootPage"></ion-nav>
@nellarro
Crossing Over to the Dark Side
@nellarro
Crossing Over to the Dark Side
@nellarro
Crossing Over to the Dark Side
By Jenell Pizarro
Human with pink hair who does talks on things sometimes :).