Advanced User Interface Controls and Components
Exports the whole menu structure as tree or flat list in JSON format.
Param | Type | Details |
---|---|---|
name | String | The value of name attribute of the Menu directive |
fields (optional) | Array | A list of all field names of item object that you want to export to JSON |
flat (optional) | Boolean | Determines whether exported data is in tree or flat format. |
spacing (optional) | String | A string that determines the space between objects in exported JSON |
Returns a String in JSON format that reperesents the exported data of the Menu.
This method is part of IntegralUIMenuService.
Supported in: v1.0.