[ type ] ScrollEvent

Description:

Scroll event received by the onScroll() handler callback.

Type: Object

Properties:

Name Type Description

target

object

The component that triggered the event.

type

string

One of horizontal, vertical.

x

number

The new horizontal scroll position.

y

number

The new vertical scroll position.

maxX

number

The maximum horizontal scroll position.

maxY

number

The maximum vertical scroll position.

Also See: