Skip to content

Commit

Permalink
added option to disable resize event
Browse files Browse the repository at this point in the history
added documentation
  • Loading branch information
Jan Rembold committed Jan 28, 2016
1 parent d5424c7 commit f37c2a2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ Setting this parameter is recommended because it optimizes the target size for t

This is the resize event used to detect the resize of the viewport.
You can set any event that can be used inside jQuery's `.on()` function.
Set `resizeEvent` to empty string to disable image calculation on resize.

It defaults to the `resize` event, which is not recommended because of the high amount of fired events.

Expand Down
2 changes: 1 addition & 1 deletion build/jquery.responsiveImage.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/jquery.responsiveImage.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion src/jquery.responsiveImage.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f37c2a2

Please sign in to comment.