hs.Expander.prototype.thumb
The thumbnail image, if any, that was clicked to open the expander.
Used within the hs.Expander object,
this.thumb refers to the thumbnail. If there is no thumbnail image inside the opening anchor, this.thumb equals this.a. If the
hs.thumbnailId setting is provided, this.thumb refers to that element.
Details
| Type |
DOMElement |
| Default value |
|
| Overrideable inline |
No |
Example
Alert the src of the thumbnail.
This example requires events in the configuration.
hs.Expander.prototype.onAfterExpand = function () {
alert (this.thumb.src);
}
The effect: