Deserializes items from a JSON string.
Namespace: MindFusion.Common.UI
File: Menu.js
SyntaxJavaScript
Copy Code
|
|---|
function fromJson (json) |
String. A string created by the toJson method.
ExampleThe following code creates a Menu using an HTML element called "links" and loads the menu content from a json string:
JavaScript
Copy Code
|
|---|
var ui = MindFusion.UI; document.addEventListener("DOMContentLoaded", function () |
See Also