• Material
  • Fabric
  • Bootstrap
  • High Contrast
Preferences
Theme Selection
Mode Selection
Touch
Mouse
Essential JS 2
HOME
All Controls

Button

This sample demonstrates the way of data binding in menu component with JavaScript object array (local data source). Interact with menu using hover / click action.

DEMO
SOURCE

The menu component loads the data through the items property, where the data can either be structured as hierarchical or self-referential data, i.e. mapped with id and parentId fields.

In this demo, the component is bound with the list type data where the parent-child relation is referred by id and parentId mapping fields.

More information about menu can be found in this data binding section.