jquery.resizeend
A jQuery plugin that allows for window resize-end event handling.
Installation
With yarn
yarn add jquery.resizeendWith npm
npm install jquery.resizeendIn the browser
Reference your local script:
<script src="node_modules/jquery.resizeend/lib/jquery.resizeend.min.js"></script>Or load the script via jsdelivr:
<script src="https://cdn.jsdelivr.net/npm/jquery.resizeend@latest/lib/jquery.resizeend.min.js"></script>Usage
$(window).on('resizeend', function(e) { // ... });Contributing
Fork the repo and clone locally, then run:
yarn installThis will install the devDependencies packages and build the dist folder.
Once you've made your desired changes, make sure to write any new tests for your feature and run the tests:
yarn run lint # lints js yarn test # runs test suiteIf all tests pass, create a pull request.
License
This plugin is licensed under the MIT license.