Directory
Constructor Summary
| Public Constructor | ||
| public |
constructor(name: string, options: Object, store: EntityStore) Create directory |
|
Member Summary
| Public Members | ||
| public |
computed: * Computed values declared in constructor |
|
| public |
mutations: * Methods declared in constructor |
|
| public |
name: * Directory name |
|
| public |
state: {} Local state |
|
| public |
structure: * Directory structure |
|
| Private Members | ||
| private |
_subject: * Subject of this directory |
|
Method Summary
| Public Methods | ||
| public |
clear() Clear local state and initialise default |
|
| public |
Return DirectorySubject of this directory |
|
| Private Methods | ||
| private |
_initialState(structure: Object, state: *) Initialise state |
|
Public Constructors
public constructor(name: string, options: Object, store: EntityStore) source
Create directory
Params:
| Name | Type | Attribute | Description |
| name | string | directory name |
|
| options | Object | structure, computed, mutations |
|
| store | EntityStore | EntityStore instance |