Skip to main content
Version: 23.8.0

CommonEventEmitter.off() 方法

¥CommonEventEmitter.off() method

签名

¥Signature

interface CommonEventEmitter {
off<Key extends keyof Events>(
type: Key,
handler?: Handler<Events[Key]>,
): this;
}

参数

¥Parameters

范围

类型

描述

type

handler

处理程序<事件[按键]>

(可选的)

Returns:

this