ember-cli-storage:EmberJS插件,用于访问浏览器中的本地和会话存储

时间:2021-02-04 23:12:40
【文件属性】:
文件名称:ember-cli-storage:EmberJS插件,用于访问浏览器中的本地和会话存储
文件大小:192KB
文件格式:ZIP
更新时间:2021-02-04 23:12:40
ember local storage ember-addon session 余烬存储 与本地和会话存储进行交互的简单方法。 兼容性 Ember.js v3.12或更高版本 Ember CLI v2.13或更高版本 Node.js v10或更高版本 安装 ember install @onehilltech/ember-cli-storage 用法 该附加组件使用装饰器来设置本地存储或会话存储中的内容或从中获取内容。 对于本地存储,请使用@local 。 对于会话存储,请使用@session 。 两个装饰器的参数都相同。 class MyClass { @ session mySessionProperty ; @ local myLocalPrope
【文件预览】:
ember-cli-storage-master
----.travis.yml(1KB)
----.ember-cli(280B)
----ember-cli-build.js(494B)
----vendor()
--------.gitkeep(0B)
----addon()
--------index.js(108B)
--------session-storage.js(114B)
--------local-storage.js(112B)
---------private()
--------.gitkeep(0B)
----config()
--------ember-try.js(2KB)
--------environment.js(90B)
----index.js(71B)
----.watchmanconfig(37B)
----package.json(2KB)
----tests()
--------test-helper.js(228B)
--------index.html(1KB)
--------unit()
--------.eslintrc.js(55B)
--------dummy()
--------integration()
--------helpers()
----package-lock.json(687KB)
----app()
--------services()
--------.gitkeep(0B)
----testem.js(601B)
----.idea()
--------jsLinters()
--------misc.xml(4KB)
--------vcs.xml(180B)
--------ember-cli-storage.iml(458B)
--------modules.xml(286B)
--------encodings.xml(159B)
--------watcherTasks.xml(139B)
--------workspace.xml(9KB)
--------inspectionProfiles()
----.npmignore(411B)
----.eslintrc.js(1KB)
----.template-lintrc.js(57B)
----LICENSE.md(11KB)
----.gitignore(369B)
----README.md(1KB)
----.eslintignore(240B)
----.editorconfig(367B)

网友评论