code: function setStickyOffsets(triggerOffset, stickyOffsetTop, stickyOffsetBottom, stickyInnerOffsetTop, stickyInnerOffsetBottom ) {
          for (var i = 0; i < observers.length; i++) {
            observers[i].setOffsets({
              triggerOffset: triggerOffset,
              stickyOffsetTop: stickyOffsetTop,
              stickyOffsetBottom: stickyOffsetBottom,
              stickyInnerOffsetTop: stickyInnerOffsetTop,
              stickyInnerOffsetBottom: stickyInnerOffsetBottom
            });
          }
        }
docs: //// HEADER ////// new ScrollDirectionObserver( function(scrollDirection, scrollYDelta) { if (scrollDirection === ScrollDirectionObserver.SCROLL_DIRECTION.DOWN) { $header.removeClass('header--visible');  //           setStickyOffsets(30, 30, 0, 30, 30); } else { $header.addClass('header--visible');  //           setStickyOffsets(90, 90, 0, 90, 30); } }, { minScrollYDelta: 20 });