Storage

@native @JSGlobal @JSType
class Storage extends Object

The DOM Storage mechanism is a means through which string key/value pairs can be securely stored and later retrieved for use. The goal of this addition is to provide a comprehensive means through which interactive applications can be built (including advanced abilities, such as being able to work "offline" for extended periods of time).

class Object
trait Any
class Object
trait Matchable
class Any

Value members

Concrete methods

def clear(): Unit
def getItem(key: String): String
def key(index: Int): String
def removeItem(key: String): Unit
def setItem(key: String, data: String): Unit

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from:
Object
def isPrototypeOf(v: Object): Boolean
Inherited from:
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from:
Object
def toLocaleString(): String
Inherited from:
Object
def valueOf(): Any
Inherited from:
Object

Concrete fields

var length: Int