- Ability to watch mouse or another DOM or even input values, watch anything you want!
- Because it is DOM-based, it is easy to support RWD
- Supports multiple frameworks
- Zero dependency (every framework is!)
- Written in typescript
- The size of the core code is only 3kb after gzip compression
- If the element is not on the screen, it will automatically stop running
watching-you's storybook using react, but every framework can do the same thing!
https://jj811208.github.io/watching-you/storybook
- When watching
input
, thetext-align
attribute must beleft
- Only
px
are supported
If anyone wants to contribute, please open a issue and let me know, I'd be happy to write CONTRIBUTING.md
.
- more test