Skip to main content
Version: 23.10.1

CommonEventEmitter.removeAllListeners() 方法

¥CommonEventEmitter.removeAllListeners() method

签名

¥Signature

interface CommonEventEmitter {
removeAllListeners(event?: keyof Events): this;
}

参数

¥Parameters

范围

类型

描述

event

活动关键

(可选的)

Returns:

this