Skip to content

Instantly share code, notes, and snippets.

@matthieu-D
Last active June 9, 2017 22:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthieu-D/1570ac19d97df67c2f583bcb9619026b to your computer and use it in GitHub Desktop.
Save matthieu-D/1570ac19d97df67c2f583bcb9619026b to your computer and use it in GitHub Desktop.
export class TasksCreatePage {
isReadyToSave: boolean;
item: any;
isAndroid: boolean;
constructor(public navCtrl: NavController,
public navParams: NavParams,
public viewCtrl: ViewController,
public platform: Platform) {
this.isAndroid = platform.is('android');
this.item = {
'taskId': navParams.get('id'),
'category': 'Todo'
};
this.isReadyToSave = true;
}
.
.
.
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment