Node.EventType Class

Module: cc

The event type supported by Node

Index

Properties
  • TOUCH_START String The event type for touch start event, you can use its value directly: 'touchstart'
  • TOUCH_MOVE String The event type for touch move event, you can use its value directly: 'touchmove'
  • TOUCH_END String The event type for touch end event, you can use its value directly: 'touchend'
  • TOUCH_CANCEL String The event type for touch end event, you can use its value directly: 'touchcancel'
  • MOUSE_DOWN String The event type for mouse down events, you can use its value directly: 'mousedown'
  • MOUSE_MOVE String The event type for mouse move events, you can use its value directly: 'mousemove'
  • MOUSE_ENTER String The event type for mouse enter target events, you can use its value directly: 'mouseenter'
  • MOUSE_LEAVE String The event type for mouse leave target events, you can use its value directly: 'mouseleave'
  • MOUSE_UP String The event type for mouse up events, you can use its value directly: 'mouseup'
  • MOUSE_WHEEL String The event type for mouse wheel events, you can use its value directly: 'mousewheel'

Details

Properties

TOUCH_START

The event type for touch start event, you can use its value directly: 'touchstart'

meta description
Type String
Defined in cocos2d/core/CCNode.js:63
TOUCH_MOVE

The event type for touch move event, you can use its value directly: 'touchmove'

meta description
Type String
Defined in cocos2d/core/CCNode.js:70
TOUCH_END

The event type for touch end event, you can use its value directly: 'touchend'

meta description
Type String
Defined in cocos2d/core/CCNode.js:77
TOUCH_CANCEL

The event type for touch end event, you can use its value directly: 'touchcancel'

meta description
Type String
Defined in cocos2d/core/CCNode.js:84
MOUSE_DOWN

The event type for mouse down events, you can use its value directly: 'mousedown'

meta description
Type String
Defined in cocos2d/core/CCNode.js:92
MOUSE_MOVE

The event type for mouse move events, you can use its value directly: 'mousemove'

meta description
Type String
Defined in cocos2d/core/CCNode.js:99
MOUSE_ENTER

The event type for mouse enter target events, you can use its value directly: 'mouseenter'

meta description
Type String
Defined in cocos2d/core/CCNode.js:106
MOUSE_LEAVE

The event type for mouse leave target events, you can use its value directly: 'mouseleave'

meta description
Type String
Defined in cocos2d/core/CCNode.js:113
MOUSE_UP

The event type for mouse up events, you can use its value directly: 'mouseup'

meta description
Type String
Defined in cocos2d/core/CCNode.js:120
MOUSE_WHEEL

The event type for mouse wheel events, you can use its value directly: 'mousewheel'

meta description
Type String
Defined in cocos2d/core/CCNode.js:127

results matching ""

    No results matching ""