API Reference > ui-components > Tree > TreeRendererContext > onLabelRendered onLabelRendered MethodOptional Callback used detect when label is rendered. It is used by TreeRenderer for scrolling to active match. onLabelRendered(node: TreeModelNode): void internal Parameter Type Description node TreeModelNode Returns - void Defined in ui/components/src/ui-components/tree/controlled/component/TreeRenderer.tsx Line 117 Last Updated: 11 June, 2024