offlineModule.purge

offlineModule.purge

This method offers alternative signatures:

offlineModule.purge(contentType)

Signature

offlineModule.purge(contentType)

Description

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.

Return Type

Promise

Parameters

Parameter Name Type Description
contentType string The content type to purge.


offlineModule.purge(contentType, [success], [error])

Signature

offlineModule.purge(contentType, [success], [error])

Description

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.

Parameters

Parameter Name Type Description
contentType string The content type to purge.
[success] function A success callback.
[error] function An error callback.


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.