• Get the Sroll Vertical position based on viewport height

    Returns

    ScrollPosition

    Parameters

    • scrollableElement: HTMLElement = ...

      Element where the scroll will happen

    Returns ScrollPosition