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 supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.UI

Library

Ui.js

See also

StorageDataSource

 

 

Show:
© 2014 Microsoft