source:
node_modules/d3-selection/src/selection/append.js@
e4c61dd
| Last change on this file since e4c61dd was e4c61dd, checked in by , 6 months ago | |
|---|---|
|
|
| File size: 238 bytes | |
| Line | |
|---|---|
| 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.
