package vue-jsoo
Binding of Vue_js
Install
Dune Dependency
Authors
Maintainers
Sources
archive?sha=d960c9bea36c709fdb3daaf319f047b49689ff45
md5=2cc7a479a0b824387f924ce83971095b
sha512=feaca68fb03c8a26ba4133f37ed8e303c5107d2bf1e73d798f739752bfc1fcb4ba53c5f6a6640c5d44cd6d52ccbb78188a2e5906e441eca98cc1af6eed29785c
doc/vue-jsoo.component/Vue_component/Internal/index.html
Module Vue_component.Internal
Source
Internal JS module
Source
type ('data, 'all) 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;
lifecycle : (string * ('all Mjs.t -> unit)) list;
error_captured : (Mjs.any -> Mjs.any -> string -> bool option) option;
directives : (string * (string * (Js_of_ocaml.Dom.element Mjs.t -> binding Mjs.t -> vnode -> vnode -> unit)) list) list option;
filters : (string * (Mjs.any -> Mjs.any)) list option;
components : (Mjs.top, Mjs.top) component_arg Mjs.t Mjs.table_cons;
mixins : Mjs.any list option;
extends : Mjs.any option;
name : string option;
delimiters : (string * string) option;
functional : bool option;
model : (string option * string option) option;
inherit_attrs : bool option;
comments : bool option;
hook_enter : (Vue_nav.push_obj -> Vue_nav.push_obj -> 'all Vue_nav.next) option;
hook_update : ('all Mjs.t -> Vue_nav.push_obj -> Vue_nav.push_obj -> 'all Vue_nav.next) option;
hook_leave : ('all Mjs.t -> Vue_nav.push_obj -> Vue_nav.push_obj -> 'all Vue_nav.next) option;
}
Source
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 ->
?lifecycle:(string * ('all Mjs.t -> unit)) list ->
?error_captured:(Mjs.any -> Mjs.any -> string -> bool option) ->
?directives:
(string
* (string
* (Js_of_ocaml.Dom.element Mjs.t ->
binding Mjs.t ->
vnode ->
vnode ->
unit))
list)
list ->
?filters:(string * (Mjs.any -> Mjs.any)) list ->
?components:(Mjs.top, Mjs.top) component_arg Mjs.t Mjs.table_cons ->
?mixins:Mjs.any list ->
?extends:Mjs.any ->
?name:string ->
?delimiters:(string * string) ->
?functional:bool ->
?model:(string option * string option) ->
?inherit_attrs:bool ->
?comments:bool ->
?enter:(Vue_nav.push_obj -> Vue_nav.push_obj -> 'all Vue_nav.next) ->
?update:
('all Mjs.t -> Vue_nav.push_obj -> Vue_nav.push_obj -> 'all Vue_nav.next) ->
?leave:
('all Mjs.t -> Vue_nav.push_obj -> Vue_nav.push_obj -> 'all Vue_nav.next) ->
unit ->
('data, 'all) component_arg Mjs.t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>