0.0.5 • Published 8 months ago
@rxjs-toolkit/resize-observer v0.0.5
INSTALLATION
With npm:
npm install --save @rxjs-toolkit/resize-observerEXAMPLES
import { RxResizeObserver } from '@rxjs-toolkit/resize-observer';
let el = document.getElementById('one');
RxResizeObserver.observe(el).subscribe((entries: ResizeObserverEntry[]) => {
console.log('ResizeObserverEntry[]', entries);
});CONTRIBUTING
We'd love for you to contribute to our source code! We just ask to:
- Write tests for the new feature or bug fix that you are solving
- Ensure all tests pass before send the pull-request (Use:
npm test) - Pull requests will not be merged if:
- has not unit tests
- reduce the code coverage
- not passing in the
npm testtask
LICENSE
Copyright (c) 2024 Lucas Dornelas
Licensed under the MIT license.