cpr.events.CScrollEventOptions

Scroll event options.
Hierarchy

Index

Properties
Name Type Description
axis ScrollAxis Type of scroll event.
cancelable Boolean Whether the event can be canceled with preventDefault().
maxScrollLeft Number The maximum horizontal scroll position value.
maxScrollTop Number The maximum vertical scroll position value.
scrollLeft Number The position value of the horizontal scroll.
scrollTop Number The position value of the vertical scroll.
userData Object For custom events, the payload data object.

Properties

axis
type ScrollAxis
Type of scroll event. Up Down Left Right
cancelable
declaring type CEventOption
type Boolean
Whether the event can be canceled with preventDefault(). This option works only when there is no nativeEvent.
maxScrollLeft
type Number
The maximum horizontal scroll position value.
maxScrollTop
type Number
The maximum vertical scroll position value.
scrollLeft
type Number
The position value of the horizontal scroll.
scrollTop
type Number
The position value of the vertical scroll.
userData
declaring type CEventOption
type Object
For custom events, the payload data object.