Registered as js-data-localstorage
in NPM and Bower.
Details
Source |
---|
src/index.js, line 632 |
Examples
var LocalStorageAdapter = window.JSDataLocalStorage.LocalStorageAdapter
var adapter = new LocalStorageAdapter()
var LocalStorageAdapter = require('js-data-localstorage').LocalStorageAdapter
var adapter = new LocalStorageAdapter()
import {LocalStorageAdapter} from 'js-data-localstorage'
const adapter = new LocalStorageAdapter()
define('myApp', ['js-data-localstorage'], function (JSDataLocalStorage) {
var LocalStorageAdapter = JSDataLocalStorage.LocalStorageAdapter
var adapter = new LocalStorageAdapter()
// ...
})
Members
-
<static> default
-
LocalStorageAdapter class. ES2015 default import.
DetailsSource See src/index.js, line 86 -
<static> LocalStorageAdapter
-
LocalStorageAdapter class.
DetailsSource See src/index.js, line 79 -
<static> version
-
Details of the current version of the
js-data-localstorage
module.DetailsType Source Object src/index.js, line 616 Properties:
Name Type Description version.full
String The full semver value.
version.major
Number The major version number.
version.minor
Number The minor version number.
version.patch
Number The patch version number.
version.alpha
String | Boolean The alpha version value, otherwise
false
if the current version is not alpha.version.beta
String | Boolean The beta version value, otherwise
false
if the current version is not beta.