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

Method onRenderHTML

modules/widgets/src/splitter-widget.tsx:249–266  ·  view source on GitHub ↗
(rootElement: HTMLElement)

Source from the content-addressed store, hash-verified

247 }
248
249 onRenderHTML(rootElement: HTMLElement): void {
250 render(
251 <>
252 {this.viewLayouts.map(
253 layout =>
254 layout.editable && (
255 <Splitter
256 {...layout}
257 onChange={newSplit => this.onChange(newSplit, layout)}
258 onDragStart={() => this.props.onDragStart()}
259 onDragEnd={() => this.props.onDragStart()}
260 />
261 )
262 )}
263 </>,
264 rootElement
265 );
266 }
267}
268
269/**

Callers

nothing calls this directly

Calls 2

onChangeMethod · 0.95
renderFunction · 0.50

Tested by

no test coverage detected