SystemEvent.EventType Class

Module: cc

The event type supported by SystemEvent

Index

Properties
  • KEY_DOWN String The event type for press the key down event, you can use its value directly: 'keydown'
  • KEY_UP String The event type for press the key up event, you can use its value directly: 'keyup'
  • DEVICEMOTION String The event type for press the devicemotion event, you can use its value directly: 'devicemotion'

Details

Properties

KEY_DOWN

The event type for press the key down event, you can use its value directly: 'keydown'

meta description
Type String
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/event/system-event.js:47
KEY_UP

The event type for press the key up event, you can use its value directly: 'keyup'

meta description
Type String
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/event/system-event.js:55
DEVICEMOTION

The event type for press the devicemotion event, you can use its value directly: 'devicemotion'

meta description
Type String
Defined in https:/github.com/cocos-creator/engine/blob/master/cocos2d/core/event/system-event.js:63

results matching ""

    No results matching ""