Creates a new MenuItem instance and adds it to the control's rootItems array.
Namespace: MindFusion.UI.WebAssembly: Menu.js
function createItem ([options])
Type: ObjectObject containing the MenuItem data.
Type: MenuItemThe created item.
Menu MembersMenu ClassMindFusion.UI.Web Namespace