Event after rendering the page


Hi! Please tell me the event that will be loaded when the entire SharePoint page is rendered.
I want to do an action right after the page is rendered. Thanks! 

1 Reply
best response confirmed by Pavel48n0sh (Contributor)

@Pavel48n0sh Where do you want this? In classic experience or modern experience?


For classic experience, follow my answer given here: Run JavaScript after page loads.

For modern experience, you can try creating a SPFx application customizer.

Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.