Members
图形类型枚举
Properties:
| Name | Type | Description |
|---|---|---|
CIRCLE |
String | 圆形 |
RECTANGLE |
String | 矩形 |
TRIANGLE |
String | 三角形 |
Type Definitions
事件对象
Properties:
| Name | Type | Attributes | Description |
|---|---|---|---|
type |
string | 事件类型 | |
data |
* | 事件数据 | |
timestamp |
number | 事件时间戳 | |
target |
Object |
<optional> |
事件目标对象 |
事件处理器类型定义
| Name | Type | Description |
|---|---|---|
data |
* | 事件数据 |
event |
Event | 事件对象 |
监听器配置
Properties:
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
once |
boolean |
<optional> |
false | 是否只触发一次 |
context |
Object |
<optional> |
绑定的上下文对象 |
