@blinkk/degu
    Preparing search index...

    Function getElementProgressPoint

    • Given a rootElement and targetElement, returns the progress value of the targetElement.

      The baseLine is a number that is from 0 to 1. 0 is the top of the element, 0.5 would be the middle and 1 would be the bottom of the element.

      Parameters

      • rootElement: HTMLElement
      • targetElement: HTMLElement
      • baseline: number = 0
      • startOffset: number = 0
      • heightOffset: number = 0
      • noClamp: boolean = false

      Returns number

      cssParallaxer.getElementProgressPoint for an in detail usecase of this method.