Skip to content

Instantly share code, notes, and snippets.

@alexweber
Last active February 7, 2018 12:44
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • 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;
}
@d4dilip
Copy link

d4dilip commented May 6, 2016

nice

@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