Forum Discussion
Alexander Auras
Feb 13, 2019Iron Contributor
SPFX: Event after all client-side web parts rendered?
Is there an event that fires after all client-side web parts rendered? I want to manipulate the DOM after the Page finished rendering.
Alexander Auras
Feb 14, 2019Iron Contributor
Hello Beau, thank you for answering! Well, your concern with the changing HTML and CSS is very reasoned. I want to write a Table of Contents web part that consolidates all H2 Headlines on an article page. By clicking on a TOC node the user should jump to an Anchor-Link that I added to the H2 Headlines before. The challange: How do I know, when all the client-side web parts got rendered, so I can start building up my TOC... Got it? :D
Tricky tricky - probably the best way is to ask MS to render anchors with H2 tags bei default.
corriehaffly
Jun 11, 2025Copper Contributor
Alexander Auras​ I see this is super old - but did you ever find a solution?