Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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 js

yarn 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).