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

Method getElement

docs/tests/v2/es6/js/sanddance.js:147270–147276  ·  view source on GitHub ↗

* Retrieve a sub-element of the rendered output. * @param type PresenterElement type of the HTMLElement to retrieve.

(type)

Source from the content-addressed store, hash-verified

147268
147269
147270 getElement(type) {
147271 const elements = this.el.getElementsByClassName((0, _panel.className)(type, this));
147272
147273 if (elements && elements.length) {
147274 return elements[0];
147275 }
147276 }
147277 /**
147278 * Present the Vega Scene, or Stage object using Deck.gl.
147279 * @param sceneOrStage Vega Scene object, or Stage object containing chart layout info.

Callers 12

presentMethod · 0.95
showGuidesMethod · 0.95
initializeMethod · 0.45
populateColorContextFunction · 0.45
ensureHeadersFunction · 0.45
constructorMethod · 0.45
onDataChangedMethod · 0.45
treeMapTest.jsFile · 0.45
scatterplotTest.jsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected