source:
node_modules/d3-selection/src/selection/append.js
| Last change on this file was e4c61dd, checked in by , 6 months ago | |
|---|---|
|
|
| File size: 238 bytes | |
| Rev | Line | |
|---|---|---|
| [e4c61dd] | 1 | import creator from "../creator.js"; |
| 2 | ||
| 3 | export default function(name) { | |
| 4 | var create = typeof name === "function" ? name : creator(name); | |
| 5 | return this.select(function() { | |
| 6 | return this.appendChild(create.apply(this, arguments)); | |
| 7 | }); | |
| 8 | } |
Note:
See TracBrowser
for help on using the repository browser.
