Properties Methods Events Config Options Direct Link
Observable
  Proxy
    ClientProxy
      WebStorageProxy

Class Ext.data.WebStorageProxy

Package:Ext.data
Defined In:WebStorageProxy.js
Class:WebStorageProxy
Subclasses:LocalStorageProxy, SessionStorageProxy
Extends:ClientProxy

WebStorageProxy is simply a superclass for the localStorage and sessionStorage proxies. It uses the new HTML5 key/value client-side storage objects to save model instances for offline use.

Config Options

Config OptionsDefined By
 defaultReaderType : String
The default registered reader type. Defaults to 'json'
Proxy
 defaultWriterType : String
The default registered writer type. Defaults to 'json'
Proxy
 id : String
The unique ID used as the key in which all record data are stored in the local storage object
WebStorageProxy

Public Properties

PropertyDefined By
 cache : Object
Cached map of records already retrieved by this Proxy - ensures that the same instance is always retrieved
WebStorageProxy

Public Methods

MethodDefined By

Public Events

This class has no public events.