ViewManager
Constructor Summary
| Public Constructor | ||
| public |
constructor(_viewFactory: *) |
|
Member Summary
| Public Members | ||
| public |
created: * |
|
| public |
destroyed: * |
|
| public |
refChanges: * |
|
| public |
resolved: * |
|
| public |
viewInit: * |
|
Method Summary
| Public Methods | ||
| public |
create(args: *, options: {}): * |
|
| public |
createWith(config: *, factory: *, options: {}): * |
|
| public |
destroy() |
|
| public |
get(token: *, id: *): * |
|
| public |
getAll(token: *): * |
|
| public |
getRef(ref: *): * |
|
| public |
|
|
| public |
query(query: *): *[] |
|
| public |
queryRef(ref: *): * |
|
| public |
queryToken(token: *, id: *): * |
|
| public |
register(token: *, container: *, options: {}) |
|
| public |
resolve(config: *, options: {}): * |
|
| public |
resolveOrCreate(args: *, options: {}): * |
|
| public |
resolveOrCreateWith(config: *, factory: *, options: {}): * |
|
| public |
subscribeToQuery(query: {token?: any, ref?: string}): Observable<ViewContainer<T>> Notifies when the a view is registered matching the given query. |
|
| public |
unregister(token: *, container: *, options: {}) |
|
Public Constructors
public constructor(_viewFactory: *) source
Params:
| Name | Type | Attribute | Description |
| _viewFactory | * |
Public Members
public created: * source
public destroyed: * source
public refChanges: * source
public resolved: * source
public viewInit: * source
Public Methods
public create(args: *, options: {}): * source
Params:
| Name | Type | Attribute | Description |
| args | * | ||
| options | {} |
|
Return:
| * |
public createWith(config: *, factory: *, options: {}): * source
Params:
| Name | Type | Attribute | Description |
| config | * | ||
| factory | * | ||
| options | {} |
|
Return:
| * |
public destroy() source
public queryToken(token: *, id: *): * source
Params:
| Name | Type | Attribute | Description |
| token | * | ||
| id | * |
Return:
| * |
public register(token: *, container: *, options: {}) source
Params:
| Name | Type | Attribute | Description |
| token | * | ||
| container | * | ||
| options | {} |
|
public resolve(config: *, options: {}): * source
Params:
| Name | Type | Attribute | Description |
| config | * | ||
| options | {} |
|
Return:
| * |
public resolveOrCreate(args: *, options: {}): * source
Params:
| Name | Type | Attribute | Description |
| args | * | ||
| options | {} |
|
Return:
| * |
public resolveOrCreateWith(config: *, factory: *, options: {}): * source
Params:
| Name | Type | Attribute | Description |
| config | * | ||
| factory | * | ||
| options | {} |
|
Return:
| * |
public subscribeToQuery(query: {token?: any, ref?: string}): Observable<ViewContainer<T>> source
Notifies when the a view is registered matching the given query.
Params:
| Name | Type | Attribute | Description |
| query | {token?: any, ref?: string} |
|
public unregister(token: *, container: *, options: {}) source
Params:
| Name | Type | Attribute | Description |
| token | * | ||
| container | * | ||
| options | {} |
|