Vue_componentSourceJS constructor
type prop_object = {pr_default : js_type;pr_required : bool option;pr_validator : (string -> bool) option;}generic prop object
possible types for prop
possible types for props argument
type ('data, 'all) component_args = ('data, 'all) Internal.component_args = {template : string option;props : props_options option;data : ('all Mjs.t -> 'data Mjs.t) option;render : ('all Mjs.t -> Mjs.any -> Mjs.any) option;computed : ('all Mjs.t -> Mjs.any Mjs.optdef) Mjs.table_cons option;watch : ('all Mjs.t -> Mjs.any -> Mjs.any -> Mjs.any) Mjs.table_cons option;methods : Mjs.any Mjs.table_cons option;mixins : Mjs.any list option;extends : Mjs.any option;mounted : ('all Mjs.t -> unit) option;name : string option;components : (Mjs.top, Mjs.top) Internal.component_arg Mjs.t Mjs.table_cons;}component arguments object
empty component arguments object
generic component js type
val make :
?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) ->
?components:(Mjs.top, Mjs.top) Internal.component_arg Mjs.t Mjs.table_cons ->
string ->
'all componentgeneric component maker Vue.component
functor to create a component with typecheck of input data