MCPcopy
hub / github.com/d3/d3 / unmounted

Function unmounted

docs/components/PlotRender.js:172–175  ·  view source on GitHub ↗
(el)

Source from the content-addressed store, hash-verified

170 }
171 };
172 const unmounted = (el) => {
173 while (el.lastChild) el.lastChild.remove();
174 disconnect();
175 };
176 const disconnect = () => {
177 if (this._observer !== undefined) {
178 this._observer.disconnect();

Callers 1

observedFunction · 0.85

Calls 1

disconnectFunction · 0.70

Tested by

no test coverage detected