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

Method getElement

docs/app/js/sanddance-app.js:8114–8117  ·  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

8112 * Retrieve a sub-element of the rendered output.
8113 * @param type PresenterElement type of the HTMLElement to retrieve.
8114 */ getElement(type) {
8115 const elements = this.el.getElementsByClassName((0, _panel.className)(type, this));
8116 if (elements && elements.length) return elements[0];
8117 }
8118 /**
8119 * Present the Vega Scene, or Stage object using Deck.gl.
8120 * @param sceneOrStage Vega Scene object, or Stage object containing chart layout info.

Callers 2

presentMethod · 0.95
showGuidesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected