ScrollView.EventType Enum

Module: cc

Enum for ScrollView event type.

Index

  • SCROLL_TO_TOP
  • SCROLL_TO_BOTTOM
  • SCROLL_TO_LEFT
  • SCROLL_TO_RIGHT
  • SCROLLING
  • BOUNCE_TOP
  • BOUNCE_BOTTOM
  • BOUNCE_LEFT
  • BOUNCE_RIGHT
  • SCROLL_ENDED
  • TOUCH_UP
  • AUTOSCROLL_ENDED_WITH_THRESHOLD
  • SCROLL_BEGAN

Details

SCROLL_TO_TOP

The event emmitted when ScrollView scroll to the top boundary of inner container

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCScrollView.js:51
SCROLL_TO_BOTTOM

The event emmitted when ScrollView scroll to the bottom boundary of inner container

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCScrollView.js:57
SCROLL_TO_LEFT

The event emmitted when ScrollView scroll to the left boundary of inner container

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCScrollView.js:63
SCROLL_TO_RIGHT

The event emmitted when ScrollView scroll to the right boundary of inner container

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCScrollView.js:69
SCROLLING

The event emmitted when ScrollView is scrolling

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCScrollView.js:75
BOUNCE_TOP

The event emmitted when ScrollView scroll to the top boundary of inner container and start bounce

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCScrollView.js:81
BOUNCE_BOTTOM

The event emmitted when ScrollView scroll to the bottom boundary of inner container and start bounce

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCScrollView.js:87
BOUNCE_LEFT

The event emmitted when ScrollView scroll to the left boundary of inner container and start bounce

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCScrollView.js:93
BOUNCE_RIGHT

The event emmitted when ScrollView scroll to the right boundary of inner container and start bounce

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCScrollView.js:99
SCROLL_ENDED

The event emmitted when ScrollView auto scroll ended

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCScrollView.js:105
TOUCH_UP

The event emmitted when user release the touch

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCScrollView.js:111
AUTOSCROLL_ENDED_WITH_THRESHOLD

The event emmitted when ScrollView auto scroll ended with a threshold

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCScrollView.js:117
SCROLL_BEGAN

The event emmitted when ScrollView scroll began

meta description
Type Number
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCScrollView.js:123

results matching ""

    No results matching ""