Extends
Members
(protected, nullable) _event :string
事件类型
消息数据的事件对应的类型
Type:
- string
- Overrides
- Default Value
- 'copy'
(protected) _name :string
插件名称
插件名称必须是唯一的, 如果有重复的名称, 则后面的插件将不会安装
Type:
- string
- Overrides
- Default Value
- 'copyEventMessage'
_priority
- Inherited From
- Default Value
- 18
(protected) _ref :Record.<string, any>
对象引用
以键值对进行记录的对象引用
Type:
- Record.<string, any>
- Inherited From
- Default Value
- {}
_type
- Inherited From
- Default Value
- 'event'
Methods
addListener()
添加事件
添加 event 对应的事件监听
- Overrides
condition()
This:
- Inherited From
install()
- Inherited From
isType()
- Inherited From
mixin()
- Inherited From
(async) notify()
通知消息
立即通知对应的事件消息
- Inherited From
removeListener()
移除监事件
移除 event 对应的事件监听
- Overrides
setDefault()
- Inherited From
uninstall()
- Inherited From