jsoo_storage

A wrapper in Js_of_ocaml for the WebStorage API
IN THIS PACKAGE
Module WebStorage

Shortcut for Dom_html.storage Js.t

Exceptions

exception Not_supported

Raised if the Storage is not supported by the browser

exception Not_found

This exception will be raised in particular case of conversion

Events

class type storageEvent = object ... end

Patch of StorageEvent (because Key could be null !)

Interfaces

module type STORAGE = sig ... end

The basic interface of a storage handler. A Storage is basically a Key/Value store, using string for the keys and the values. This implémentation is a low-level binding for the API.

Concrete implementation

module Local : STORAGE

Support for LocalStorage

module Session : STORAGE

Support for SessionStorage