ui.Thumbnail.onClick

Registers a callback that's fired when the thumbnail is clicked.

Returns an ID which can be passed to unlisten() to unregister the callback.

Usage Returns
Thumbnail. onClick (callback) String
Argument Type Details
this: ui.thumbnail
ui.Thumbnail The ui.Thumbnail instance.
callback
Function The callback to fire when the thumbnail is clicked. The callback is passed the thumbnail widget.
Create a Mobile Website
View Site in Mobile | Classic
Share by: