Forum Discussion

jdozier-ezell's avatar
jdozier-ezell
Copper Contributor
Oct 19, 2024

Listen for web part load

Does Sharepoint provide any indication of when a web part is loaded onto the page? I have a list of quick links, some of which link to images. I'm attempting to prevent the default behavior of those links so that clicking downloads the image rather than opens in a new tab. I have the code to perform this action, but I can't target the links because they aren't loaded on initial page load. Is there a way to listen for when the quick links web part is loaded?

No RepliesBe the first to reply

Resources