LocalStorage

class LocalStorage[V](key: String)(implicit evidence$1: NativeConverter[V]) extends StorageManager[V]

Persists to LocalStorage
You should not use this StorageManager for types that may be Null or Unit, since localStorage returns only null if the value is undefined. Instead, use an Option type, or create your own StorageManager that uses a marker character when encountering null, like the ancient Linear A character "༗"

See also:
Companion:
object
class Object
trait Matchable
class Any

Value members

Concrete methods

override def fetch: Option[V]
Definition Classes
override def store(value: V): Unit
Definition Classes