Scroll event containing position and size information.

Hierarchy

  • GeScrollEvent

Constructors

  • Parameters

    • scrollTop: number

      Vertical scroll position of the viewport in px.

    • scrollLeft: number

      Horizontal scroll position of the viewport in px.

    • scrollHeight: number

      Height of the whole (virtual) content in px.

    • scrollWidth: number

      Width of the whole content in px.

    • clientHeight: number

      Visible height in px.

    • clientWidth: number

      Visible width in px.

    • scrollFactorY: number

      Vertical position as factor 0 (top) … 1 (bottom).

    • scrollFactorX: number

      Horizontal position as factor 0 (left) … 1 (right).

    Returns GeScrollEvent

Properties

clientHeight: number

Visible height in px.

clientWidth: number

Visible width in px.

scrollFactorX: number

Horizontal position as factor 0 (left) … 1 (right).

scrollFactorY: number

Vertical position as factor 0 (top) … 1 (bottom).

scrollHeight: number

Height of the whole (virtual) content in px.

scrollLeft: number

Horizontal scroll position of the viewport in px.

scrollTop: number

Vertical scroll position of the viewport in px.

scrollWidth: number

Width of the whole content in px.