Extends
Methods
calculateSizing(originalDimensions, [boundingBox])
#
Resize the thumbnail and wrapper according to row height and bounding boxes, if given.
calculateWrapperPadding(thumbDimensions) → {Object}
#
Adjust the wrapper padding for small images.
getDimensions() → {Object}
#
Retrieve the store dimensions object.
Get the row this result is in.
getRowHeight() → {number}
#
Set the row height for all size calculations.
hasSrc() → {boolean}
#
Check if the image has a src attribute already.
Returns:
Thumbnail has its source attribute set
- Type
- boolean
Check if the image has a src attribute already.
lazyLoad()
#
Replace the empty .src attribute of the image with the actual src.
Replace the empty .src attribute of the image with the actual src.
resizeThumb(resizeFactor)
#
Resize thumbnail and element according to the resize factor.
Parameters:
Name | Type | Description |
---|---|---|
resizeFactor |
number | The resizing factor for the image |
Resize thumbnail and element according to the resize factor.
setRow(row)
#
Set the row this result is in.