XLocalStorage:跨子域localStorage(基于JSON-RPC 2.0协议)

时间:2024-07-04 00:58:55
【文件属性】:

文件名称:XLocalStorage:跨子域localStorage(基于JSON-RPC 2.0协议)

文件大小:7KB

文件格式:ZIP

更新时间:2024-07-04 00:58:55

JavaScript

本地存储 跨子域localStorage(基于JSON-RPC 2.0协议) 用法 首先,您应该将xlocalstorage.html复制到您的根域和根路径。 回调样式 < script src =" bower_components/xlocalstorage/xlocalstorage.js " > </ script > < script > xLocalStorage . setItem ( 'abc' , 123 , function ( e ) { xLocalStorage . getItem ( 'abc' , function ( e ) { console . log ( e ) ; // 123 xLocalStorage . length ( function ( e ) { console . log ( e ) ; // 1


【文件预览】:
XLocalStorage-master
----README.md(1KB)
----xlocalstorage.html(847B)
----tests()
--------test-amd.html(828B)
--------test.html(178B)
--------.gitignore(18B)
--------test-global.html(658B)
--------test-angular.html(861B)
--------bower.json(412B)
--------test-jquery.html(745B)
----xlocalstorage.js(4KB)
----bower.json(502B)
----LICENSE.txt(70B)

网友评论