MCPcopy
hub / github.com/visgl/deck.gl / onCreateRootElement

Method onCreateRootElement

modules/core/src/lib/tooltip-widget.ts:53–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51
52 // TODO(ib) - does this really need to be overridden?
53 onCreateRootElement() {
54 const el = document.createElement('div');
55 el.className = this.className;
56 Object.assign(el.style, defaultStyle);
57 return el;
58 }
59
60 onRenderHTML(rootElement: HTMLElement): void {}
61

Callers 1

_onAddFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected