d3.creator()

d3.creator(name)

Given the specified element name, returns a function which creates an element of the given name, assuming that this is the parent element. This method is used internally by selection.append and selection.insert to create new elements. For example, this:

selection.append("div");

Is equivalent to:

selection.append(d3.creator("div"));

See namespace for details on supported namespace prefixes, such as for SVG elements.

doc_D3_Js
2016-11-24 10:25:49
Comments
Leave a Comment

Please login to continue.