跳到主要内容

on

响应事件(为响应函数展开参数)

声明

void on(string event, function fn)

参数

参数名描述
event事件名称
fn响应函数

返回值

使用方式

返回文档