Skip to content

Instantly share code, notes, and snippets.

@alexweber
Last active February 7, 2018 12:44
Show Gist options
  • Save alexweber/57d0c8159fc25f4b5ca960155e5744ca to your computer and use it in GitHub Desktop.
Save alexweber/57d0c8159fc25f4b5ca960155e5744ca to your computer and use it in GitHub Desktop.
handler: () => {
return this.data.load().then(() => {
return alert.dismiss();
}).then(() => {
this.nav.pop();
});
return false;
}
@simonpeters
Copy link

handler: () => {
  this.data.load()
    .then(() => alert.dismiss())
    .then(() => this.nav.pop());

  return false;
}

@tejasrsuthar
Copy link

Awesome 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment