MCPcopy Create free account
hub / github.com/UI5/webcomponents / onAfterRendering

Method onAfterRendering

packages/main/src/Tree.ts:332–336  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

330 }
331
332 onAfterRendering() {
333 // Note: this is a workaround for the problem that the list cannot invalidate itself when its only physical child is a slot (and the list items are inside the slot)
334 // This code should be removed once a framework-level fix is implemented
335 this.shadowRoot!.querySelector<TreeList>("[ui5-tree-list]")!.onBeforeRendering();
336 }
337
338 get dropIndicatorDOM(): DropIndicator | null {
339 return this.shadowRoot!.querySelector("[ui5-drop-indicator]");

Callers 1

_renderFunction · 0.45

Calls 1

onBeforeRenderingMethod · 0.45

Tested by

no test coverage detected