Evented

继承了该类的子类会拥有事件处理的能力。

方法

方法 返回值 描述
on(type: string,listener: Function) this 绑定事件
off(type: string,listener: Function) this 取消事件绑定
once(type: string,listener: Function) this 绑定一个仅执行一次的事件

results matching ""

    No results matching ""