Live Chat Icon For mobile
Live Chat Icon

How can I tell when Blazor has finished rendering a DOM element?

Platform: Blazor| Category : General, Lifecycle, Tips and Tricks

The lifecycle methods OnAfterRenderAsync and OnAfterRender are called only when a component has finished rendering. The element and component references are populated at this point. By using these methods, the user can activate third-party JavaScript libraries that operate based on the DOM elements.

Share with

Share on twitter
Share on facebook
Share on linkedin

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.