vue-clickaway
vue-clickaway copied to clipboard
Support specifying event
This will:
- Help work around iOS issues, where click event is not delegated to the document root (#7, #13).
- Help work around issues with libraries that manage to remove their DOM before the click event arrives to the document root (#10)
Possible syntax (with modifiers): v-click-away.mousedown="awayHandler"
.
that sounds great!
https://github.com/simplesmiler/vue-clickaway/issues/13#issuecomment-303956212
This might help.
I added this functionality to https://github.com/silverspectro/vue-clickaway2 which is a continuation of this project.