This guy can be even more specialized - it takes only img tags.

This commit is contained in:
jseanxu
2014-04-09 15:19:33 -07:00
parent 793e49acba
commit 722788bcc7

2
winjs/winjs.d.ts vendored
View File

@@ -6747,7 +6747,7 @@ declare module WinJS.UI {
* @param image The img element that will display the thumbnail.
* @returns A Promise that completes when the full-quality thumbnail is visible.
**/
loadThumbnail(item: IItem<T>, image: HTMLElement): Promise<void>;
loadThumbnail(item: IItem<T>, image: HTMLImageElement): Promise<void>;
//#endregion Methods