package vue-jsoo

  1. Overview
  2. Docs
include Tables_S
type state
val getters_t : (state Mjs.t -> Mjs.any) Mjs.Table.t
val mutations_t : (state Mjs.t -> Mjs.any -> unit) Mjs.Table.t
val add_getter : string -> (state Mjs.t -> Mjs.any) -> unit
val add_mutation : string -> (state Mjs.t -> Mjs.any -> unit) -> unit
val add_action : string -> (state action_input -> Mjs.any -> unit) -> unit
val add_module : string -> 'a module_obj -> unit
val merge_lists : ?getters:(string * (state Mjs.t -> Mjs.any)) list -> ?mutations:(string * (state Mjs.t -> Mjs.any -> unit)) list -> ?actions:(string * (state action_input -> Mjs.any -> unit)) list -> ?modules:(string * Mjs.top module_obj) list -> unit -> unit
val get : ?getters:(string * (state Mjs.t -> Mjs.any)) list -> ?mutations:(string * (state Mjs.t -> Mjs.any -> unit)) list -> ?actions:(string * (state action_input -> Mjs.any -> unit)) list -> ?modules:(string * Mjs.top module_obj) list -> ?namespaced:bool -> state Mjs.t -> state module_obj
OCaml

Innovation. Community. Security.