Search
MenuItem.draw Method
See Also
 






TreeNode.draw override.

Namespace: MindFusion.Common.UI
File: MenuItem.js

 Syntax

JavaScript  Copy Code

function draw ()

 Example

The following code uses the href property of the MenuItem class to search for an item that references index.html:

JavaScript  Copy Code
var menuItem = menu.flatItems.where(function (item) {
     if (menuItem.href == "index.html")
          return true; }).first();

 See Also