ObserveManger
Constructor Summary
Public Constructor | ||
public |
|
Member Summary
Public Members | ||
public |
idmap: * |
|
public |
|
|
public |
|
Method Summary
Public Methods | ||
public |
dispatch(owner: *, type: *, data: *) |
|
public |
getId(obj: *): * |
|
public |
has(owner: *, type: *, child: *, callback: *) |
|
public |
subscribe(owner: *, type: *, child: *, callback: *, customIsValid: *) |
|
public |
unsubscribe(owner: *, type: *, child: *, callback: *): * |
|
public |
update() |
Private Methods | ||
private |
_getEvents(owner: *): * |
|
private |
_unsubscribe(oid: *, type: *, cid: *, callback: *): * |
Public Constructors
public constructor() source
Public Methods
public dispatch(owner: *, type: *, data: *) source
Params:
Name | Type | Attribute | Description |
owner | * | ||
type | * | ||
data | * |
public has(owner: *, type: *, child: *, callback: *) source
Params:
Name | Type | Attribute | Description |
owner | * | ||
type | * | ||
child | * | ||
callback | * |
public subscribe(owner: *, type: *, child: *, callback: *, customIsValid: *) source
Params:
Name | Type | Attribute | Description |
owner | * | ||
type | * | ||
child | * | ||
callback | * | ||
customIsValid | * |
|
public unsubscribe(owner: *, type: *, child: *, callback: *): * source
Params:
Name | Type | Attribute | Description |
owner | * | ||
type | * | ||
child | * | ||
callback | * |
Return:
* |
public update() source
Private Methods
private _unsubscribe(oid: *, type: *, cid: *, callback: *): * source
Params:
Name | Type | Attribute | Description |
oid | * | ||
type | * | ||
cid | * | ||
callback | * |
Return:
* |