# Function: offError
▸ offError(this
: void, handler?
: ErrorEventHandler): void
取消监听报错
# 参数:
属性 | 类型 | 描述 |
---|---|---|
this | void | - |
handler? | ErrorEventHandler | 要取消监听的回调方法,不传则清空 |
ErrorEventHandler: MogsEventHandler‹ErrorEvent›
ErrorEvent
结构
属性 | 类型 | 描述 |
---|---|---|
type | ErrorEvent | 事件类型,由具体的事件构造时提供 |
# 返回值:
void