Skip to content
A custom event that fires when a user stops resizing their browser.
Branch: master
Clone or download
Latest commit d1183fb Sep 14, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
src Updated entry file name Jul 10, 2017
test/e2e Removing test report Jul 18, 2017
.babelrc Updated package to use modern build system Jul 10, 2017
.codeclimate.yml Updated package to use modern build system Jul 10, 2017
.eslintignore Updated package to use modern build system Jul 10, 2017
.eslintrc.js Updated package to use modern build system Jul 10, 2017
.gitignore Ignoring test reports Jul 18, 2017
.npmrc 🐛 updated npm registry Sep 14, 2018
.travis.yml
CODE_OF_CONDUCT.md Updated code of conduct Jul 18, 2017
CONTRIBUTING.md
LICENSE.md Updated copyright Jul 18, 2017
README.md 📦 fixed dependency updates Sep 14, 2018
bower.json
package.json Release 1.1.1 Sep 14, 2018
resizeend.jquery.json
rollup.config.js 🐛 updated npm registry Sep 14, 2018
yarn.lock

README.md

jquery.resizeend

Build Status devDependencies Status Code Climate NPM version npm Greenkeeper badge

A jQuery plugin that allows for window resize-end event handling.

Installation

With yarn

yarn add jquery.resizeend

With npm

npm install jquery.resizeend

In 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 install

This 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 suite

If all tests pass, create a pull request.

License

This plugin is licensed under the MIT license.

You can’t perform that action at this time.