Skip to content
Action2<T1, T2>

基础类型 / Action2

Action2<T1, T2> Class
​

两个参数的代理

Type parameters ​

Name
T1
T2

Hierarchy ​

Table of contents ​

Accessors
​

click

Accessors
​

count(): number
监听方法的数量

Methods
​

click

Methods
​

add(fn: Function, thisArg?: any): number
添加一个监听方法
call(...params: any): void
执行
clear(): void
清除所有监听
includes(fn: Function, thisArg: any): boolean
判断是否包含某个监听方法
remove(fn: number Function, thisArg?: any): void
移除一个监听方法

Accessors ​

Methods ​