This event fires when the Thumbnail control is clicked.
<script type="text/javascript"> function Thumbnail1_Click(){ //...your code... } </script>
<aur:Thumbnail ID="Thumbnail1" runat="server"> <ClientEvents> <aur:ClientEvent EventName="Click" HandlerName="Thumbnail1_Click" /> </ClientEvents> </aur:Thumbnail>
<script type="text/javascript"> function Thumbnail1_Click(){ //...your code... } </script>
<?php $Thumbnail = new Thumbnail("Thumbnail1"); //...other params... $Thumbnail->getClientEvents()->setClick("Thumbnail1_Click"); //...other params... $Thumbnail->render(); ?>
function Thumbnail1_Click(){ //...your code... }
$au.thumbnail({ events: { //...other params... click: [Thumbnail1_Click], //...other params... } })