Crestron Components Lib - Showcase App

ch5-import-htmlsnippet: afterload

afterload event

The afterload event occurs when a HTML snippet has been loaded and inserted into the DOM. Afterload is most often used within the ch5-import-htmlsnippet element to execute a script once an HTML snippet has completely loaded all content (including images, script files, CSS files, and so forth).

<div id="afterLoad" style="color:#008a00;font-weight:bold;text-align:center;"></div>