A type of IListDataSource that provides read-access to an object that implements the IStorageQueryResultBase interface. A StorageDataSource enables you to query and bind to items in the data source.
Creates a new StorageDataSource object.
The IStorageQueryResultBase that the StorageDataSource obtains its items from. Instead of IStorageQueryResultBase, you can also pass one of these string values: Music, Pictures, Videos, Documents.
The set of properties and values to apply to the new StorageDataSource. Properties on this object may include: mode , requestedThumbnailSize , thumbnailOptions , synchronous .
Draws the thumbnail for the specified item to the specified img element.
The item to retrieve the thumbnail for.
The img element that will display the thumbnail.
A Promise that completes when the full-quality thumbnail is visible.