|
@ -950,19 +950,26 @@ $.fn.visibility.settings = { |
|
|
name : 'Visibility', |
|
|
name : 'Visibility', |
|
|
namespace : 'visibility', |
|
|
namespace : 'visibility', |
|
|
|
|
|
|
|
|
className: { |
|
|
|
|
|
fixed: 'fixed' |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
observeChanges : true, |
|
|
|
|
|
|
|
|
|
|
|
debug : false, |
|
|
debug : false, |
|
|
verbose : false, |
|
|
verbose : false, |
|
|
performance : true, |
|
|
performance : true, |
|
|
|
|
|
|
|
|
|
|
|
// whether to use mutation observers to follow changes
|
|
|
|
|
|
observeChanges : true, |
|
|
|
|
|
|
|
|
|
|
|
// callback should only occur one time
|
|
|
|
|
|
once : true, |
|
|
|
|
|
|
|
|
|
|
|
// callback should fire continuously whe evaluates to true
|
|
|
|
|
|
continuous : false, |
|
|
|
|
|
|
|
|
|
|
|
// offset to use with scroll top
|
|
|
offset : 0, |
|
|
offset : 0, |
|
|
|
|
|
|
|
|
|
|
|
// whether to include margin in elements position
|
|
|
includeMargin : false, |
|
|
includeMargin : false, |
|
|
|
|
|
|
|
|
|
|
|
// scroll context for visibility checks
|
|
|
context : window, |
|
|
context : window, |
|
|
|
|
|
|
|
|
// check position immediately on init
|
|
|
// check position immediately on init
|
|
@ -995,13 +1002,14 @@ $.fn.visibility.settings = { |
|
|
onTopPassedReverse : false, |
|
|
onTopPassedReverse : false, |
|
|
onBottomPassedReverse : false, |
|
|
onBottomPassedReverse : false, |
|
|
|
|
|
|
|
|
once : true, |
|
|
|
|
|
continuous : false, |
|
|
|
|
|
|
|
|
|
|
|
// utility callbacks
|
|
|
// utility callbacks
|
|
|
onRefresh : function(){}, |
|
|
onRefresh : function(){}, |
|
|
onScroll : function(){}, |
|
|
onScroll : function(){}, |
|
|
|
|
|
|
|
|
|
|
|
className: { |
|
|
|
|
|
fixed: 'fixed' |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
error : { |
|
|
error : { |
|
|
method : 'The method you called is not defined.' |
|
|
method : 'The method you called is not defined.' |
|
|
} |
|
|
} |
|
|