Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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: