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

Suggestion: allow optional right clicking event detection #15

Open
victor-am opened this issue Apr 13, 2017 · 0 comments
Open

Suggestion: allow optional right clicking event detection #15

victor-am opened this issue Apr 13, 2017 · 0 comments

Comments

@victor-am
Copy link

I was thinking if you guys are interested in implementing a right click away option. Idk which approach would be best but here are some basic ideas:

It could be a directive

<a v-on-right-clickaway="myMethod"> Foo </a>

Or a modifier

<a v-on-clickaway.right="myMethod"> Foo </a>

But neither of those two approaches look ideal for me 🤔

I could provide a PR for this feature if you find it a good idea and once we agree in a good API for this 👍

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

2 participants