Mike Bostock
Mike Bostock
Related #52.
The caption would also need to be position: sticky, presumably.
The disposal promise needs to know the container that may be removed — otherwise it would have to observe the entire DOM, which would be slow. The implementation currently expects...
@mootari That would require setting [subtree: true](https://dom.spec.whatwg.org/#dom-mutationobserverinit-subtree), which we want to avoid. (Though, I suppose it could be a fallback, or opt-in.)
If we allow you to pass in a selector, it will be error prone because the disposal promise will only be monitoring the selector element’s immediate children (childList) for changes....
You can sort of achieve this with `Text({type: "number", submit: true})`.
Or `wrap: false`?
For long lists, you could switch to Select (with multiple: true for checkboxes).
The example feels slightly contrived since you could do ```js viewof projection = Select( ["geoOrthographic", "geoMercator", "geoEqualEarth"], { valueof: d => d3[d], value: d3.geoMercator } ) ``` And then ```js...
How about this approach? (The wrapping in arrow functions is optional if you don’t want to specify any additional parameters to the projection and just want to use the projection...