API Docs for: 0.4.0.9e0c4433
Show:

BaseStorageService Class

Extends Ember.Service
Module: services
Parent Module: ember-cli-storagekit

Item Index

Properties

Methods

clear

() public

Clears the underlying storage source

getItem

(
  • key
)
public

Delegates a getItem call to the underlying storage source

Parameters:

key

(
  • index
)
String | Null

Delegates a key call to the underlying storage source.

Parameters:

  • index Number

    The index of the key to retrieve.

Returns:

String | Null:

The key at the given index or null if it does not exist.

length

() public

Delegates a length call the underlying storage source

removeItem

(
  • key
)
public

Delegates a removeItem call to the underlying storage source

Parameters:

setItem

(
  • key
  • value
)
public

Delegates a setItem call to the underlying storage source

Parameters:

Properties

adapter

private

The adapter being delegated to