Jan*_*ani 2 local-storage angularjs angularjs-directive
我在我的应用程序中使用localStorage.我希望在20分钟后清除这些值.你可以帮帮我吗?
我为angular-localStorage(https://github.com/grevory/angular-local-storage)编写了一个扩展,当你在set方法中提供一个可选参数时,它可以自动删除localStorage中的条目.
https://gist.github.com/Kyoss79/8cd37a54679804fdeb6d
| 归档时间: |
|
| 查看次数: |
15905 次 |
| 最近记录: |