MCPcopy Index your code
hub / github.com/microsoft/SandDance / constructor

Method constructor

packages/vega-deck.gl/src/presenter.ts:96–100  ·  view source on GitHub ↗

* Instantiate a new Presenter. * @param el Parent HTMLElement to present within. * @param style Optional PresenterStyle styling options.

(public el: HTMLElement, style?: PresenterStyle)

Source from the content-addressed store, hash-verified

94 * @param style Optional PresenterStyle styling options.
95 */
96 constructor(public el: HTMLElement, style?: PresenterStyle) {
97 this.style = deepMerge<PresenterStyle>(defaultPresenterStyle, style);
98 initializePanel(this);
99 this._last = { view: null, height: null, width: null, cubeCount: null, stage: null };
100 }
101
102 /**
103 * Cancels any pending animation, calling animationCanceled() on original queue.

Callers

nothing calls this directly

Calls 2

deepMergeFunction · 0.90
initializePanelFunction · 0.90

Tested by

no test coverage detected