MCPcopy Create free account
hub / github.com/microsoft/SandDance / constructor

Method constructor

docs/app/js/sanddance-app.js:10600–10608  ·  view source on GitHub ↗
(parentElement, language, animator, dataScope, colorMapHandler, hasColorMaps)

Source from the content-addressed store, hash-verified

10598})(Action || (Action = {}));
10599class Details {
10600 constructor(parentElement, language, animator, dataScope, colorMapHandler, hasColorMaps){
10601 this.language = language;
10602 this.animator = animator;
10603 this.dataScope = dataScope;
10604 this.colorMapHandler = colorMapHandler;
10605 this.hasColorMaps = hasColorMaps;
10606 this.element = (0, _vegaDeckGl.util).addDiv(parentElement, `${(0, _defaults.cssPrefix)}unitControls`);
10607 this.clear();
10608 }
10609 finalize() {
10610 if (this.element) this.element.innerHTML = "";
10611 this.dataScope = null;

Callers

nothing calls this directly

Calls 1

clearMethod · 0.95

Tested by

no test coverage detected