ScrollView.EventType 枚举

模块: cc

滚动视图事件类型

索引

  • 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

滚动视图滚动到顶部边界事件

meta description
类型 Number
定义于 https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCScrollView.js:51
SCROLL_TO_BOTTOM

滚动视图滚动到底部边界事件

meta description
类型 Number
定义于 https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCScrollView.js:57
SCROLL_TO_LEFT

滚动视图滚动到左边界事件

meta description
类型 Number
定义于 https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCScrollView.js:63
SCROLL_TO_RIGHT

滚动视图滚动到右边界事件

meta description
类型 Number
定义于 https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCScrollView.js:69
SCROLLING

滚动视图正在滚动时发出的事件

meta description
类型 Number
定义于 https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCScrollView.js:75
BOUNCE_TOP

滚动视图滚动到顶部边界并且开始回弹时发出的事件

meta description
类型 Number
定义于 https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCScrollView.js:81
BOUNCE_BOTTOM

滚动视图滚动到底部边界并且开始回弹时发出的事件

meta description
类型 Number
定义于 https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCScrollView.js:87
BOUNCE_LEFT

滚动视图滚动到左边界并且开始回弹时发出的事件

meta description
类型 Number
定义于 https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCScrollView.js:93
BOUNCE_RIGHT

滚动视图滚动到右边界并且开始回弹时发出的事件

meta description
类型 Number
定义于 https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCScrollView.js:99
SCROLL_ENDED

滚动视图滚动结束的时候发出的事件

meta description
类型 Number
定义于 https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCScrollView.js:105
TOUCH_UP

当用户松手的时候会发出一个事件

meta description
类型 Number
定义于 https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCScrollView.js:111
AUTOSCROLL_ENDED_WITH_THRESHOLD

滚动视图自动滚动快要结束的时候发出的事件

meta description
类型 Number
定义于 https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCScrollView.js:117
SCROLL_BEGAN

滚动视图滚动开始时发出的事件

meta description
类型 Number
定义于 https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/components/CCScrollView.js:123

条与 "" 相匹配的结果

    没有与 "" 匹配的结果