Share via


WinJS.UI.StorageDataSource object

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.

Syntax

var object = new WinJS.UI.StorageDataSource(query, options);

Members

The StorageDataSource object has these types of members:

  • Methods

Methods

The StorageDataSource object has these methods.

Method Description
loadThumbnail

Draws the thumbnail for the specified item to the specified img element.

StorageDataSource

Creates a new StorageDataSource object.

 

Remarks

This object inherits from IListDataSource. For a complete list of its members, see the ListDataSource object.

StorageDataSource does not support grouped views.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

IListDataSource