Skip to content
Ever wanted to fire an event after a resize event has completed? Well now you can.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
demo
dist
src
test
.gitignore
.travis.yml
LICENSE
README.MD
gulpfile.js
package.json

README.MD

AfterResizeMe

Build Status

A Native JavaScript Event Library

Ever wanted to fire an event after a resize event has completed? Well now you can.

How?

window.addEventListener('afterresize', callback);

That's it?

Yes.

Optional Parameters

You can pass a delay to determine how quickly the callback should be fired after the resize event is completed.

window.addEventListener('afterresize', callback, {delay: 1000});

Installation

<script src='path/to/afterresize.min.js'></script>

Test

npm run test
You can’t perform that action at this time.