javierbyte/control-user-cursor

for api design

liesislukas opened this issue · 0 comments

I liked the idea itself, it might be useful on UIs for older people who have problems with clicking on small objects with the mouse. Just add some gravity to the button hah :-)

Noticed on your readme what's your roadmap and would like to suggest to keep in mind that some users will want to use it with ReactJs, Angular or similar, where you do not always have document object (server side render) and document object might be the worst way to select DOM (using virtual DOM framework).

Just plan ahead and write the simple wrapper for DOM selection, which could be replaced by other developers who write JS with some virtual DOM frameworks.

Fun 👍