Constructor Summary
| Public Constructor | ||
| public |
constructor(handler: Function | IEventListener, options: Boolean | IEventListenerOptions) 创建一个侦听器对象。 |
since 1.0.0 |
Member Summary
| Public Members | ||
| public get |
获取侦听器的处理函数。 |
since 1.0.0 |
| public get |
获取侦听器的配置选项。 |
since 1.0.0 |
Method Summary
| Public Methods | ||
| public |
handleEvent(event: Event) 处理一个事件对象。 |
since 1.0.0 |
Public Constructors
public constructor(handler: Function | IEventListener, options: Boolean | IEventListenerOptions) since 1.0.0 source
创建一个侦听器对象。
Params:
| Name | Type | Attribute | Description |
| handler | Function | IEventListener | 指定事件处理函数或者是一个侦听器。 |
|
| options | Boolean | IEventListenerOptions |
|
指定侦听器的配置选项。 |
