adopted-ember-addons / adopted-ember-addons/ember-local-storage

Clear with exception

未关闭
#282 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
JavaScript
星标
220
派生
78
PR 合并指标
30 天内没有已合并 PR

描述

Hi,

Would be nice to be able to clear the local storage with exception(s), such as exposed here https://stackoverflow.com/a/29450351/1515819

clearStorageExcept(['exceptionOne','exceptionTwo'])

Would you consider a PR that does that?
Cheers

贡献指南

打开贡献指南

调研方向

Start by locating the storageFor computed-property entry point and its localStorage/sessionStorage handling. Compare the requested clearStorageExcept(['exceptionOne','exceptionTwo']) behavior with the linked Stack Overflow example; done means the requested keys remain while other stored entries are cleared.

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript
领域
frontend
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。