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