Skip to content

Instantly share code, notes, and snippets.

@ichaiwut
Created June 16, 2017 09:26
Show Gist options
  • Save ichaiwut/3e83ba9ac92f50a0d3e0cfece7624b8e to your computer and use it in GitHub Desktop.
Save ichaiwut/3e83ba9ac92f50a0d3e0cfece7624b8e to your computer and use it in GitHub Desktop.
export class DetailPage() {
constructor(public navCtrl: NavController) {}
isValid() {
return (validValue) ? true : false;
}
ionViewCanEnter(): boolean {
return this.isValid();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment