Advanced User Interface Controls and Components
Specifies an object that map the fields names from data source to the ones used by the Menu.
Variable | Type | Details |
---|---|---|
enabled (default: 'enabled') | String | Specifies the name of a property in your data source which determines whether item is enabled or disabled |
hasChildren (default: 'hasChildren') | String | Specifies the name of a property in your data source which specifies whether item's will have or has children |
icon (default: 'icon') | String | Specifies the name of a property in your data source which represents a DOM element used as item icon |
id (default: 'id') | String | Specifies the name of a property in your data source which represents an unique identifier for an item |
items (default: 'items') | String | Specifies the name of a property in your data source which represents an unique identifier for an item |
pid (default: 'pid') | String | Specifies the name of a property in your data source which represents the list of child items |
style (default: 'style') | String | Specifies the name of a property in your data source which represents an object holding item style settings |
text (default: 'text') | String | Specifies the name of a property in your data source which represents an item label |
value (default: 'value') | String | Specifies the name of a property in your data source which represents an object holding custom item settings |
An object with field names from a custom data source.
This property is accessed through data-fields or fields attribute of Menu directive.
Supported in: v1.0.