Https://cocos-creator/engine/blob/master/cocos2d/core/event/event.js:110 Reset the event for being stored in the object pool. Https://cocos-creator/engine/blob/master/cocos2d/core/event/event.js:323 Https://cocos-creator/engine/blob/master/cocos2d/core/event/event.js:313 Https://cocos-creator/engine/blob/master/cocos2d/core/event/event.js:303 bubbles Boolean A boolean indicating whether the event bubbles up through the tree or not.type String The name of the event (case-sensitive), e.g.Https://cocos-creator/engine/blob/master/cocos2d/core/event/event.js:282 Https://cocos-creator/engine/blob/master/cocos2d/core/event/event.js:75 Indicates which phase of the event flow is currently being evaluated. Https://cocos-creator/engine/blob/master/cocos2d/core/event/event.js:67 Https://cocos-creator/engine/blob/master/cocos2d/core/event/event.js:59Ī reference to the currently registered target for the event. Https://cocos-creator/engine/blob/master/cocos2d/core/event/event.js:51Ī reference to the target to which the event was originally dispatched. Indicate whether the event bubbles up through the tree or not. Https://cocos-creator/engine/blob/master/cocos2d/core/event/event.js:43 The name of the event (case-sensitive), e.g. Https://cocos-creator/engine/blob/master/cocos2d/core/event/event.js:332 If the key can't be identified, this value is 0. The ke圜ode read-only property represents a system and implementation dependent numerical code identifying the unmodified value of the pressed key. Https://cocos-creator/engine/blob/master/cocos2d/core/event/event.js:290 It returns 0 when the listener is associated with fixed priority.Ī reference to the detailed data of the event meta Note: It only be available when the event listener is associated with node. isStopped Checks whether the event has been stopped.The event won't even be dispatched to the listeners attached in the current target. stopPropagationImmediate Stops propagation for current event immediately,.stopPropagation Stops propagation for current event.reuse Reuse the event for being used again by the object pool.unuse Reset the event for being stored in the object pool.( ), of the DOM Level 3 Events specification. Returns an integer value represented by 4 constants: eventPhase Number Indicates which phase of the event flow is currently being evaluated.currentTarget Object A reference to the currently registered target for the event.target Object A reference to the target to which the event was originally dispatched.bubbles Boolean Indicate whether the event bubbles up through the tree or not.This is usually the decimal ASCII (RFC 20) or Windows 1252 code corresponding to the key. ke圜ode Number The ke圜ode read-only property represents a system and implementation dependent numerical code identifying the unmodified value of the pressed key.detail Object A reference to the detailed data of the event.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |