We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sorry but the current readme file required me to spend 20 minutes trying to figure out what's going on and read the source code.
For example: there's no reference to the .observe or .unobserve methods (and the first ones seems required to make this working).
.observe
.unobserve
A new readme proposal (taken from https://codesandbox.io/s/ko5wqqz617)
let rectObserver = observeRect(node, rect => { console.log(rect.left, rect.top, rect.height, rect.width); }); rectObserver.observe();
(also a link to a codesandbox could help)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Sorry but the current readme file required me to spend 20 minutes trying to figure out what's going on and read the source code.
For example: there's no reference to the
.observe
or.unobserve
methods (and the first ones seems required to make this working).A new readme proposal (taken from https://codesandbox.io/s/ko5wqqz617)
(also a link to a codesandbox could help)
The text was updated successfully, but these errors were encountered: