We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Window 对象分别实现具有(window.localStorage) 和(window.sessionStorage) 属性的WindowLocalStorage和对象。这些属性创建一个 Storage 对象的实例,通过它可以为特定域和存储类型(会话或本地)设置、检索和删除数据项。例如,您可以对本地存储对象进行读写,如下所示WindowSessionStoragelocalStoragesessionStorage
localStorage.setItem("logo", document.getElementById("logo").value); localStorage.getItem("logo");
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Window 对象分别实现具有(window.localStorage) 和(window.sessionStorage) 属性的WindowLocalStorage和对象。这些属性创建一个 Storage 对象的实例,通过它可以为特定域和存储类型(会话或本地)设置、检索和删除数据项。例如,您可以对本地存储对象进行读写,如下所示WindowSessionStoragelocalStoragesessionStorage
The text was updated successfully, but these errors were encountered: