Class: Storage

Storage()

OLE storage service. Base class for storage services, such as LocalStorage, PermalinkStorage, CookieStorage.

Constructor

new Storage()

Source:

Classes

Storage

Members

(private) controls :array.<ol.control.Control>

List of service controls
Type:
  • array.<ol.control.Control>
Source:

ignoreKeys :array.<string>

List of properties keys to ignore.
Type:
  • array.<string>
Source:

Methods

activate()

Source:

deactivate()

Source:

restoreActiveControls()

Restore the active state of the controls.
Source:

restoreProperties()

Restore the control properties.
Source:

storeActiveControls()

Store the active state of controls.
Source:

storeProperties(controlName, properties)

Store control properties.
Parameters:
Name Type Description
controlName string Name of the control.
properties object Control properties.
Source: