Methods
addEvents
- addEvents(...args: any[]): void
-
Parameters
Returns void
off
- off(eventName: string, fn: Function, scope: any): void
-
Parameters
-
eventName: string
-
fn: Function
-
scope: any
Returns void
on
- on(eventName: string, fn: Function, scope: any, o?: IObserver): void
-
Parameters
-
eventName: string
-
fn: Function
-
scope: any
-
Returns void
raiseEvent
- raiseEvent(eventName: string, ...params: any[]): void
-
Parameters
-
eventName: string
-
Rest ...params: any[]
Returns void
resumeEvents
-
Returns void
suspendEvents
-
Returns void
观察者接口 事件的注册,反注册,触发,暂停