Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nielse63/jquery.resizeend
A custom event that fires when a user stops resizing their browser.
https://github.com/nielse63/jquery.resizeend
custom-events javascript jquery jquery-plugin node
Last synced: 13 days ago
JSON representation
A custom event that fires when a user stops resizing their browser.
- Host: GitHub
- URL: https://github.com/nielse63/jquery.resizeend
- Owner: nielse63
- License: mit
- Created: 2013-10-30T17:44:57.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2022-04-30T22:00:05.000Z (over 2 years ago)
- Last Synced: 2024-10-17T16:03:05.449Z (22 days ago)
- Topics: custom-events, javascript, jquery, jquery-plugin, node
- Language: JavaScript
- Homepage: https://nielse63.github.io/jquery.resizeend/
- Size: 12.7 MB
- Stars: 148
- Watchers: 7
- Forks: 21
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# jquery.resizeend
[![Build Status](https://travis-ci.org/nielse63/jquery.resizeend.svg?branch=master)](https://travis-ci.org/nielse63/jquery.resizeend)
[![devDependencies Status](https://david-dm.org/nielse63/jquery.resizeend/dev-status.svg)](https://david-dm.org/nielse63/jquery.resizeend?type=dev)
[![Code Climate](https://codeclimate.com/github/nielse63/jquery.resizeend/badges/gpa.svg)](https://codeclimate.com/github/nielse63/jquery.resizeend)
[![NPM version](https://badge.fury.io/js/jquery.resizeend.svg)](http://badge.fury.io/js/jquery.resizeend)
[![npm](https://img.shields.io/npm/dt/jquery.resizeend.svg?style=flat-square)](https://www.npmjs.com/package/jquery.resizeend)
[![Greenkeeper badge](https://badges.greenkeeper.io/nielse63/jquery.resizeend.svg)](https://greenkeeper.io/)A jQuery plugin that allows for window resize-end event handling.
## Installation
### With `yarn`
```sh
yarn add jquery.resizeend
```### With `npm`
```sh
npm install jquery.resizeend
```### In the browser
Reference your local script:
```html
```
Or load the script via jsdelivr:
```html
```
## Usage
```js
$(window).on('resizeend', function(e) {
// ...
});
```## Contributing
Fork the repo and clone locally, then run:
```sh
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:```sh
yarn run lint # lints jsyarn test # runs test suite
```If all tests pass, [create a pull request](https://github.com/nielse63/jquery.resizeend/pulls).
## License
This plugin is licensed under the [MIT license](http://opensource.org/licenses/MIT).