There's an out-of-the-box event for when a page is rendered, but sometimes it would be helpful to listen for a specific component to be rendered and then run an event.