Observable
Extends:
AbstractObservable → Observable
Static Method Summary
Static Public Methods | ||
public static |
mixin(cls: *) |
|
public static |
|
Method Summary
Public Methods | ||
public |
|
|
public |
off(type: *, child: *, callback: *): * if callback is undefined, then all callbacks associated with child will be removed |
|
public |
on(type: *, child: *, callback: *): * |
|
public |
once(type: *, child: *, callback: *): * |
Inherited Summary
From class AbstractObservable | ||
public static |
observeDefine(): {"events": *} |
|
public |
|
Static Public Methods
public static mixin(cls: *) source
Params:
Name | Type | Attribute | Description |
cls | * |
Public Methods
public off(type: *, child: *, callback: *): * source
if callback is undefined, then all callbacks associated with child will be removed
Params:
Name | Type | Attribute | Description |
type | * | ||
child | * | ||
callback | * |
Return:
* |
public on(type: *, child: *, callback: *): * source
Params:
Name | Type | Attribute | Description |
type | * | ||
child | * | ||
callback | * |
Return:
* |
public once(type: *, child: *, callback: *): * source
Params:
Name | Type | Attribute | Description |
type | * | ||
child | * | ||
callback | * |
Return:
* |