package vue-jsoo

  1. Overview
  2. Docs

Internal JS module

class type prop_object_js = object ... end
class type ['data, 'all] component_arg = object ... end
type 'all vue_output = 'all Mjs.t
class type ['data, 'all] vue_object = object ... end
val js_prop_obj : prop_object -> prop_object_js Mjs.t
val make_prop : prop_options -> Mjs.any
val make_props : props_options -> Mjs.any
type ('data, 'all) component_args = {
  1. template : string option;
  2. props : props_options option;
  3. data : ('all Mjs.t -> 'data Mjs.t) option;
  4. render : ('all Mjs.t -> Mjs.any -> Mjs.any) option;
  5. computed : ('all Mjs.t -> Mjs.any Mjs.optdef) Mjs.table_cons option;
  6. watch : ('all Mjs.t -> Mjs.any -> Mjs.any -> Mjs.any) Mjs.table_cons option;
  7. methods : Mjs.any Mjs.table_cons option;
  8. mixins : Mjs.any list option;
  9. extends : Mjs.any option;
  10. mounted : ('all Mjs.t -> unit) option;
  11. name : string option;
  12. components : (Mjs.top, Mjs.top) component_arg Mjs.t Mjs.table_cons;
}
val make_arg : ('data, 'all) component_args -> ('data, 'all) component_arg Mjs.t
val make_arg_js : ?template:string -> ?render:('all Mjs.t -> Mjs.any -> Mjs.any) -> ?props:props_options -> ?data:('all Mjs.t -> 'data Mjs.t) -> ?computed:('all Mjs.t -> Mjs.any Mjs.optdef) Mjs.table_cons -> ?methods:Mjs.any Mjs.table_cons -> ?watch:('all Mjs.t -> Mjs.any -> Mjs.any -> Mjs.any) Mjs.table_cons -> ?mixins:Mjs.any list -> ?extends:Mjs.any -> ?mounted:('all Mjs.t -> unit) -> ?name:string -> ?components:(Mjs.top, Mjs.top) component_arg Mjs.t Mjs.table_cons -> unit -> ('data, 'all) component_arg Mjs.t
OCaml

Innovation. Community. Security.