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

Support specifying event #14

Open
simplesmiler opened this issue Apr 4, 2017 · 3 comments
Open

Support specifying event #14

simplesmiler opened this issue Apr 4, 2017 · 3 comments

Comments

@simplesmiler
Copy link
Owner

This will:

  1. Help work around iOS issues, where click event is not delegated to the document root (Issues with iOS #7, iOS #13).
  2. Help work around issues with libraries that manage to remove their DOM before the click event arrives to the document root (race-condition for click event listener and el.contains #10)

Possible syntax (with modifiers): v-click-away.mousedown="awayHandler".

@sanyashvets
Copy link

that sounds great!

@bmfteixeira
Copy link

#13 (comment)

This might help.

@buffet-time
Copy link

I added this functionality to https://github.com/silverspectro/vue-clickaway2 which is a continuation of this project.

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

No branches or pull requests

4 participants