package vue-jsoo
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Binding of Vue_js
Install
dune-project
Dependency
Authors
Maintainers
Sources
archive?sha=2a338bcccd3cdd4c5b3c488f84b954baa976840e
md5=d8095fc66a530f25abb2c0b994e2e720
sha512=0068240dff39fb5e08a61bb36540b6fffa5d015abb7b4f5eb6a00425f8d860d7f73493d63779b6cc269680192cdab4c3dc662c5631ae1e195f6f58e92815f4e2
doc/vue-jsoo.component/Vue_component/index.html
Module Vue_componentSource
JS constructor
Source
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
Source
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
Source
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
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>