Static offset example
Based pre-defined static offset.
    
    $.fn.scrollTrigger({
      offset: 1415,
      gap: 20,
      on: function (options) {
        $(".example--1").addClass("example--fixed");
      },
      off: function (options) {
        $(".example--1").removeClass("example--fixed");
      },
    });
      
Example