This event fires when the Thumbnail control is completely created and initialized.
<script type="text/javascript"> function Thumbnail1_InitComplete(){ //...your code... } </script>
<aur:Thumbnail ID="Thumbnail1" runat="server"> <ClientEvents> <aur:ClientEvent EventName="InitComplete" HandlerName="Thumbnail1_InitComplete" /> </ClientEvents> </aur:Thumbnail>
<script type="text/javascript"> function Thumbnail1_InitComplete(){ //...your code... } </script>
<?php $Thumbnail = new Thumbnail("Thumbnail1"); //...other params... $Thumbnail->getClientEvents()->setInitComplete("Thumbnail1_InitComplete"); //...other params... $Thumbnail->render(); ?>
function Thumbnail1_InitComplete(){ //...your code... }
$au.thumbnail({ events: { //...other params... initComplete: [Thumbnail1_InitComplete], //...other params... } })