type

尝试获取一个事件的外层 type 属性字段,并转化为 type。

Throws

当出现预料之外的格式时。