Method
constructor
(
parentElement: HTMLElement,
private language: Language,
private animator: Animator,
private dataScope: DataScope,
private colorMapHandler: (remap: boolean) => void,
private hasColorMaps: () => boolean,
)
Source from the content-addressed store, hash-verified
| 25 | private state: State; |
| 26 | |
| 27 | constructor( |
| 28 | parentElement: HTMLElement, |
| 29 | private language: Language, |
| 30 | private animator: Animator, |
| 31 | private dataScope: DataScope, |
| 32 | private colorMapHandler: (remap: boolean) => void, |
| 33 | private hasColorMaps: () => boolean, |
| 34 | ) { |
| 35 | this.element = util.addDiv(parentElement, `${cssPrefix}unitControls`); |
| 36 | this.clear(); |
| 37 | } |
| 38 | |
| 39 | finalize() { |
| 40 | if (this.element) this.element.innerHTML = ''; |
Callers
nothing calls this directly
Tested by
no test coverage detected