You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by Joe Bowser <bo...@gmail.com> on 2012/11/06 22:09:37 UTC
Re: Notification API: notification.confirm: What should this do on cancel?
Reviving this thread:
Where should we document this? The API docs?
On Thu, Oct 25, 2012 at 7:05 PM, Simon MacDonald
<si...@gmail.com>wrote:
> I think 0 on a cancel is okay as long as we document it. The only other
> thing we could do is to add an optional cancellation callback to the end of
> the argument list for the method.
>
> Simon Mac Donald
> http://hi.im/simonmacdonald
>
>
> On Thu, Oct 25, 2012 at 5:12 PM, Joe Bowser <bo...@gmail.com> wrote:
>
> > Hey
> >
> > I'm working through CB-1742, and adding the onCancel listeners for
> > when someone uses the back button. However, it seems that we don't
> > have any behaviour defined for this. Right now, I return 0 for this
> > on the notification.confirm, but I don't think that's right. What
> > should this be?
> >
> > Any ideas?
> >
> > Joe
> >
>