OfflineModule [class]

Description

A class providing access to the various offline storage features.

Members

Instance members

Name Return type Description
files An instance of the OfflineFilesModule class for working with files in offline mode.
getItemsForSync() Promise Get all the offline items that have not been synced online.
getItemsForSync([success], [error]) Get all the offline items that have not been synced online.
purge(contentType) Promise Removes all data for a specific content type from the offline storage. If caching is enabled clears the cache
for the specified content type as well.
purge(contentType, [success], [error]) Removes all data for a specific content type from the offline storage. If caching is enabled clears the cache
for the specified content type as well.
purgeAll() Promise Removes all data from the offline storage. If caching is enabled clears the entire cache as well.
purgeAll([success], [error]) Removes all data from the offline storage. If caching is enabled clears the entire cache as well.
Start a free trial Request a demo
Contact us: +1-888-365-2779
sales@telerik.com
Copyright © 2016-2017, Progress Software Corporation and/or its subsidiaries or affiliates. All rights reserved.