loadThumbnail method
Collapse the table of content
Expand the table of content

StorageDataSource.loadThumbnail method

Applies to Windows and Windows Phone

Draws the thumbnail for the specified item to the specified img element.

Syntax


WinJS.UI.StorageDataSource.loadThumbnail(item, image).done( /* Your success and error handlers */ );

Parameters

item

Type: IItem

The item to retrieve the thumbnail for.

image

Type: HTMLElement

The img element that will display the thumbnail.

Return value

Type: Promise

A Promise that completes when the full-quality thumbnail is visible.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

StorageDataSource

 

 

Show:
© 2016 Microsoft