Example
dashboard.getFeature('Serializer')
Methods
toJSON(optionsopt) → {object}
Calling this method builds and return a JS object representing the current dashboard. If given a list of content IDs, a minimum dashboard spec (containing the specified IDs) will be returned.
Parameters:
Name | Type | Attributes | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
Object |
<optional> |
Options used to generate a dashboard spec. Properties
|
Returns:
JS object representing the current dashboard
- Type
- object