Added description of the new children option to the addSvgElementFromJson() function.

This commit is contained in:
KB Jørgensen
2016-11-14 09:54:53 +01:00
parent e79db0f2a6
commit 0bf50b0b42

View File

@@ -186,6 +186,7 @@ var selectedElements = [];
// * element - tag name of the SVG element to create
// * attr - Object with attributes key-values to assign to the new element
// * curStyles - Boolean indicating that current style attributes should be applied first
// * children - Optional array with data objects to be added recursively as children
//
// Returns: The new element
var addSvgElementFromJson = this.addSvgElementFromJson = function addSvgElementFromJson(data) {