Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

onCancel param added #18

Closed
wants to merge 2 commits into from
Closed

Conversation

motionharvest
Copy link

As a prompt replacement I needed the cancel button to also trigger an action.

I see that my editor has also fixed your odd spacing conventions.

@motionharvest
Copy link
Author

My version of this solution now includes an updated example.

@fastfrwrd
Copy link

👍

@pomartel
Copy link

pomartel commented Oct 8, 2014

In my opinion, there should only be one return callback with a boolean param. Like the actual confirm JS method works.

@t4t5
Copy link
Owner

t4t5 commented Oct 21, 2014

Will close this since the functionality was added in v0.2.0 through #93. Thanks for the suggestion!

@t4t5 t4t5 closed this Oct 21, 2014
@motionharvest
Copy link
Author

Thanks. Happy to have contributed some thinking to this project. Looks like its being well received. I'll link you to the project I'm using it in when it's live.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants