Gets or sets a value indicating where the linked document is loaded.
Namespace: MindFusion.Common.UI
File: MenuItem.js
JavaScript Copy Code |
---|
get target() {} |
String. One of the allowed HTML link target attribute values.
The following sample creates a new instance of the Menu class and ads one MenuItem to it. The menu item opens the link in a new window.
JavaScript Copy Code |
---|
var menu = new ui.Menu(document.getElementById("links")); var menuItem = new ui.MenuItem("Start", "index.html"); |