【文件属性】:
文件名称:storage-es6:ES6跨域localStorage
文件大小:23KB
文件格式:ZIP
更新时间:2021-07-06 12:13:30
JavaScript
扩展-es6
CrossDomainStorage ES6 实现
安装
$ bower install --save zheneva/storage-es6
运行示例
$ git clone git@github.com:zheneva/storage-es6.git
$ npm install
$ gulp
应用程序接口
storage . set ( {
es : 5 ,
html : 8
} )
storage . get ( 'es' , function ( data ) {
console . log ( 'your data is here:' , data )
} )
storage . remove ( 'html' )
【文件预览】:
storage-es6-master
----.gitignore(604B)
----client.js(3KB)
----browser-polyfill.js(52KB)
----package.json(418B)
----gulpfile.js(765B)
----index.js(4KB)
----README.md(393B)
----example()
--------iframe.html(255B)
--------index.html(809B)
----host.es6.js(2KB)
----bower.json(136B)
----host.js(2KB)
----client.es6.js(2KB)
----TODO.txt(137B)