c

org.scalajs.dom.ext

Storage

sealed class Storage extends AnyRef

Wraps dom.Storage replacing null-returning methods with option-returning ones

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Storage
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Storage(domStorage: dom.Storage)

Value Members

  1. def apply(key: String): Option[String]
  2. def clear(): Unit
  3. def key(index: Int): Option[String]
  4. def length: Int
  5. def remove(key: String): Unit
  6. def update(key: String, data: String): Unit