package vue-jsoo

  1. Overview
  2. Docs

Parameters

module S : sig ... end

Signature

type state = S.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
OCaml

Innovation. Community. Security.