Last active
June 9, 2017 22:49
-
-
Save matthieu-D/1570ac19d97df67c2f583bcb9619026b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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