Cocos Creator API

0.7.1

Cocos Creator is a highly customizable game development tool that utilizes the power of cocos2d-x.

Node.EventType

Module: cc

The event type supported by Node

Properties

TOUCH_START String readOnly

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

TOUCH_MOVE String readOnly

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

TOUCH_END String readOnly

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

TOUCH_CANCEL String readOnly

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

MOUSE_DOWN String readOnly

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

MOUSE_MOVE String readOnly

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

MOUSE_ENTER String readOnly

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

MOUSE_LEAVE String readOnly

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

MOUSE_UP String readOnly

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

MOUSE_WHEEL String readOnly

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

There are no properties that match your current filter settings. You can change your filter settings in the index section on this page. index