new Thumbnail(source, width, height)
A simple and elegant class for creating thumbnails of images.
Parameters:
Name | Type | Description |
---|---|---|
source |
string | |
width |
number | |
height |
number |
Methods
-
toString() → {string}
-
Print thumbnail.
Returns:
HTML.- Type
- string