Store: a component that takes a dataSourceEndpoint
and adds the results to the noticeboard.
It has no viewmodel and does not accept children.
Parameters:
Name |
Type |
Description |
node |
object
|
The configuation object for the module
Properties
Name |
Type |
Attributes |
Default |
Description |
type |
string
|
|
'store'
|
The type of the node is store * |
storeKey |
object
|
|
|
The key that the results are stored on in the noticeboard |
dataSourceEndpoint |
object
|
Array.<Object>
|
|
|
An object defining the endpoint(s) that makes the ajax calls
Properties
Name |
Type |
Attributes |
Description |
uri |
string
|
|
The uri for the endpoint |
url |
string
|
<optional>
|
The url for the endpoint |
options |
object
|
<optional>
|
Options for the ajax call |
|
keyMap |
object
|
<optional>
|
|
A mapper object to map keys
Properties
Name |
Type |
Attributes |
Description |
result |
object
|
<optional>
|
Map the results from the ajax call with this key |
|
|
- Source: