Browse Source

#2615 re-order settings

pull/2616/merge
jlukic 9 years ago
parent
commit
c091f50aa7
1 changed files with 6 additions and 6 deletions
  1. 12
      src/definitions/behaviors/visibility.js

12
src/definitions/behaviors/visibility.js

@ -1137,12 +1137,18 @@ $.fn.visibility.settings = {
// whether to use mutation observers to follow changes
observeChanges : true,
// check position immediately on init
initialCheck : true,
// whether to refresh calculations after all page images load
refreshOnLoad : true,
// whether to refresh calculations after page resize event
refreshOnResize : true,
// should call callbacks on refresh event (resize, etc)
checkOnRefresh : true,
// callback should only occur one time
once : true,
@ -1158,9 +1164,6 @@ $.fn.visibility.settings = {
// scroll context for visibility checks
context : window,
// check position immediately on init
initialCheck : true,
// visibility check delay in ms (defaults to animationFrame)
throttle : false,
@ -1174,9 +1177,6 @@ $.fn.visibility.settings = {
// array of callbacks for percentage
onPassed : {},
// should call callbacks on refresh event (resize, etc)
checkOnRefresh : true,
// standard callbacks
onOnScreen : false,
onOffScreen : false,

Loading…
Cancel
Save