Skip to main content
Version: 23.8.0

CommonEventEmitter.emit() 方法

¥CommonEventEmitter.emit() method

签名

¥Signature

interface CommonEventEmitter {
emit<Key extends keyof Events>(type: Key, event: Events[Key]): boolean;
}

参数

¥Parameters

范围

类型

描述

type

event

活动[重点]

Returns:

boolean