stringify method

This function converts the menu item collection to a JSON string.

This function is used as a helper for hwc.addMenuItemCollection.

Syntax

stringify() → {string}

Returns

The JSON string representing this menu item collection.

[/reference/refbody/section/sectiondiv {""})

Type:

string

(sectiondiv]

Example

var callbackFunctionName = function()
{
   alert( "Menu item clicked!" );
}
var menuItemCollection = new hwc.MenuItemCollection();
var jsonMenuItemCollection = menuItemCollection.stringify();

Source

hwc-comms.js, line 641.