Properties

type String

The name of the event (case-sensitive), e.g. "click", "fire", or "submit".
事件的名称(区分大小写),例如:“click”、“fire”、或“submit”。

target Object

A reference to the target to which the event was originally dispatched.
最初派发事件的事件目标(实体)的引用。

currentTarget Object

A reference to the currently registered target for the event.
当前注册的事件的目标的引用。

eventPhase Number

Indicates which phase of the event flow is currently being evaluated. Returns an integer value represented by 4 constants:
指示当前正在评估事件流的哪个阶段。返回4个常量表示的整数值:

Event.NONE = 0
Event.CAPTURING_PHASE = 1
Event.AT_TARGET = 2
Event.BUBBLING_PHASE = 3 

The phases are explained in the [section 3.1, Event dispatch and DOM event flow] (http://www.w3.org/TR/DOM-Level-3-Events/#event-flow), of the DOM Level 3 Events specification.

NONE Number

Events not currently dispatched are in this phase.
当前阶段尚未发出的事件.

CAPTURING_PHASE Number

The capturing phase comprises the journey from the root to the last node before the event target's node.
个人理解(非实际翻译):捕获阶段。事件从对象沿着文档树向下一级一级传递给目标节点。如果目标的任何一个先辈注册了捕获事件句柄,那么在事件传播过程中马上运行这些句柄,而不等到传播到目标才执行。

AT_TARGET Number

The target phase comprises only the event target node.
个人理解(非实际翻译):在目标节点自身阶段。直接注册在目标上的适合的事件句柄将运行。

BUBBLING_PHASE Number

The bubbling phase comprises any subsequent nodes encountered on the return trip to the root of the hierarchy.
个人理解(非实际翻译):冒泡阶段。在此阶段,事件将从目标元素向上传播回或起泡回根对象的文档层次。

Methods

unuse ( ) String

Reset the event for being stored in the object pool.
重置存储事件对象池。

reuse ( ) String

Reuse the event for being used again by the object pool.
对象池事件被重用。

preventDefault ( )

If invoked when the cancelable attribute value is true, signals to the operation that caused event to be dispatched that it needs to be canceled.
当可取消的属性值为`true`时,需要取消信号操作引起的分发事件。

stopPropagation ( )

Stops propagation for current event.
停止当前事件的传播。

stopPropagationImmediate ( )

Stops propagation for current event immediately, the event won't even be dispatched to the listeners attached in the current target.
立即停止传播当前事件,事件将不会被发送给当前目标中的侦听器。

isStopped ( ) Boolean

Checks whether the event has been stopped.
检查是否已停止事件的传播。

getCurrentTarget ( ) Node

Gets current target of the event 
获取事件的当前目标.

note: It only be available when the event listener is associated with node. 
注意:只有当事件侦听器与节点关联时才可用。

It returns 0 when the listener is associated with fixed priority.
当侦听器与固定优先级相关联时返回0.

getType ( ) String

Gets the event type.
获取事件类型。