Skip to content

Commit

Permalink
clearer sizeOffsetPercent comment
Browse files Browse the repository at this point in the history
  • Loading branch information
dwtkns committed Feb 9, 2016
1 parent 8cd4285 commit f058460
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jquery.laziestloader.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
getSource: getSource,
event: 'scroll',
scrollThrottle: 250, // time in ms to throttle scroll. Increase for better performance.
sizeOffsetPercent: 0, // prefer smaller images
sizeOffsetPercent: 0, // Subtract this % of width from the containing element, and fit images as though the element were that size. 0 = fit to element size; 40 = size - 40%; -30 = size + 30%
setSourceMode: true // plugin sets source attribute of the element. Set to false if you would like to, instead, use the callback to completely manage the element on trigger.
}, options);

Expand Down

0 comments on commit f058460

Please sign in to comment.