OpenVeo AngularJS back end

API Docs for: 3.0.0
Show:

storageProvider

Summary

Defines a storage provider to help store information. For now sessionStorage and localStorage are supported.

Methods

addToStorage

Syntax

addToStorage

(
  • key
  • value
)

Summary

Adds information to the storage.

Parameters:

  • key String

    The key of the element to add

  • value String

    The value of the element to add

getFromStorage

Syntax

getFromStorage

(
  • key
)
Object

Summary

Gets information from storage using the given key.

Parameters:

  • key String

    The key of the element to retrieve

Returns:

Object:

The stored value for the given key

removeFromStorage

Syntax

removeFromStorage

(
  • key
)

Summary

Removes a key from the storage.

Parameters:

  • key String

    The key of the element to remove