Module Dom.Storage
ocaml
type treasonml
type t;ocaml
val getItem : string -> t -> string optionreasonml
let getItem: string => t => option(string);ocaml
val setItem : string -> string -> t -> unitreasonml
let setItem: string => string => t => unit;ocaml
val removeItem : string -> t -> unitreasonml
let removeItem: string => t => unit;ocaml
val clear : t -> unitreasonml
let clear: t => unit;ocaml
val key : int -> t -> string optionreasonml
let key: int => t => option(string);ocaml
val length : t -> intreasonml
let length: t => int;ocaml
val localStorage : treasonml
let localStorage: t;ocaml
val sessionStorage : treasonml
let sessionStorage: t;