mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-24 07:34:11 +00:00
Update documentation for the createThumbnail method
Bug: 61267 Change-Id: If73e89059f5f8528a6e0aab0ec04a89a69c5d114
This commit is contained in:
parent
9bd3d6551e
commit
a2242e6886
|
@ -113,6 +113,9 @@
|
||||||
/**
|
/**
|
||||||
* @method createThumbnail
|
* @method createThumbnail
|
||||||
* Returns a thumbnail object based on the ratio of the image
|
* Returns a thumbnail object based on the ratio of the image
|
||||||
|
* Uses an SVG image where available to add the triangle/pokey
|
||||||
|
* mask on the image. Crops and resizes the SVG image so that
|
||||||
|
* is fits inside a rectangle of a particular size.
|
||||||
* @param {Object} thumbnail
|
* @param {Object} thumbnail
|
||||||
* @param {boolean} tall
|
* @param {boolean} tall
|
||||||
* @return {Object} jQuery DOM element of the thumbnail
|
* @return {Object} jQuery DOM element of the thumbnail
|
||||||
|
|
Loading…
Reference in a new issue