Class: Thumbnail

H5P. Thumbnail

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
Documentation generated by JSDoc 3.4.3 on 2017-02-07T13:45:43+01:00