StorageDataSource.loadThumbnail method

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
Show: