Thanks for this Vue Plugin, it works great. I really appreciate you working on getting types in as quickly as possible. This PR is slightly unnecessary, but it fixes 2 minor issues, and adds some JSDoc comments.
To tidy up what ferferga has done I have:
Make target optional (it defaults to document.body)
Added JSDoc info for all functions in the types file (index.d.ts)
Thanks for this Vue Plugin, it works great. I really appreciate you working on getting types in as quickly as possible. This PR is slightly unnecessary, but it fixes 2 minor issues, and adds some JSDoc comments.
To tidy up what ferferga has done I have:
target
optional (it defaults to document.body)index.d.ts
)