package vue-jsoo

  1. Overview
  2. Docs

JS store object

method state : 'state Mjs.t Mjs.readonly_prop
method getters : ('state Mjs.t -> ('state Mjs.t -> Mjs.any) Mjs.table -> Mjs.any) Mjs.table Mjs.readonly_prop
method replaceState : 'state Mjs.t -> unit Mjs.meth
method watch : ('state Mjs.t -> ('state Mjs.t -> 'a) Mjs.table -> 'b) -> ('b -> unit) -> unit Mjs.meth
method subscribe : (Internal.mutation_js Mjs.t -> 'state Mjs.t -> unit) -> unit Mjs.meth
method subscribeAction : (Internal.mutation_js Mjs.t -> 'state Mjs.t -> unit) -> unit Mjs.meth
method unregisterModule : Mjs.js_string Mjs.t -> unit Mjs.meth
method hasModule : Mjs.js_string Mjs.t -> bool Mjs.t Mjs.meth
method hotUpdate : 'a -> unit Mjs.meth
OCaml

Innovation. Community. Security.