vueuse/gesture

Missing documentation for directive usage

slurmulon opened this issue · 3 comments

The Gesture Options page says that the options must be structured differently when using directives.

However, the link for the directive documentation results in a 404.

It seems that none of the options provided via :drag-options have any effect, so without this documentation it's a challenge to determine how to configure options at all.

directive dose not support options currently. I'm curious why not use argument to receive options. would you mind if I fire a pull request to complete this?

Tahul commented

Hello @bendwarn ;

I would love to get a PR for this!

Please go ahead. 😄

I realize recently argument is served as string and it seems to be abuse if passing object. Maybe the only decent way is putting handler and option in value together.