JS: event listener for when element becomes visible?
<p>I am building a toolbar that is going to be included into a page. the div it is going to be included in will default to <strong>display:none</strong>. Is there a way i can put an event listener on my toolbar to listen for when it becomes visible so it can initialize? or will I have to pass it a variable from the containing page?</p>

<p>Thanks</p>
