TreeNode.draw override.
Namespace: MindFusion.Common.UI
File: MenuItem.js
JavaScript Copy Code |
---|
function draw () |
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(); |
JavaScript Pack Programmer's Guide | © 2024 MindFusion |