MCPcopy
hub / github.com/d3/d3 / disconnect

Function disconnect

docs/components/PlotRender.js:176–185  ·  docs/components/PlotRender.js::disconnect
()

Source from the content-addressed store, hash-verified

174 disconnect();
175 };
176 const disconnect = () => {
177 if (this._observer !== undefined) {
178 this._observer.disconnect();
179 this._observer = undefined;
180 }
181 if (this._idling !== undefined) {
182 cancelIdleCallback(this._idling);
183 this._idling = undefined;
184 }
185 };
186 const {height = 400} = this.options;
187 return withDirectives(
188 h(

Callers 2

mountedFunction · 0.70
unmountedFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected