package js.html
Available on jsThe
Storageinterface of the Web Storage API provides access to the session storage or local storage for a particular domain, allowing you to for example add, modify or delete stored data items.Documentation Storage by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
read only length:IntReturns an integer representing the number of data items stored in the Storage object.
clear ():VoidThrows:
null |
DOMError |
|---|
getItem (key:String):StringThrows:
null |
DOMError |
|---|
key (index:Int):StringThrows:
null |
DOMError |
|---|
removeItem (key:String):VoidThrows:
null |
DOMError |
|---|
setItem (key:String, value:String):VoidThrows:
null |
DOMError |
|---|
© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/Storage.html