package vue-ppx
Ppx to make Vue.js application
Install
Dune Dependency
Authors
Maintainers
Sources
vue-ppx-0.1.0.tar.gz
md5=2f7195496033d04f40dd1e0f206822f9
sha512=d68bb17fe8cf87579e3b34842bdd9b7b6e7aa0b6ca6aa390c900464a5d96e2c124b86d4e1d0780da065d7e2599b5d0beef1fcc7890709a447a9fd7522bf9efaf
doc/vue-ppx.lib/Vue/index.html
Module Vue
Source
Source
class type ['data, 'methods, 'computed, 'watch, 'props, 'components, 'directives] create_arg = object ... end
Source
val create_app :
< components : 'a Js_of_ocaml.Js.optdef Js_of_ocaml.Js.readonly_prop
; computed : 'b Js_of_ocaml.Js.optdef Js_of_ocaml.Js.readonly_prop
; data : 'c Js_of_ocaml.Js.meth
; directives : 'd Js_of_ocaml.Js.optdef Js_of_ocaml.Js.readonly_prop
; emits :
Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t Js_of_ocaml.Js.js_array
Js_of_ocaml.Js.t
Js_of_ocaml.Js.optdef
Js_of_ocaml.Js.readonly_prop
; methods : 'e Js_of_ocaml.Js.optdef Js_of_ocaml.Js.readonly_prop
; name :
Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t Js_of_ocaml.Js.optdef
Js_of_ocaml.Js.readonly_prop
; props : 'f Js_of_ocaml.Js.optdef Js_of_ocaml.Js.readonly_prop
; render :
(Js_of_ocaml.Js.Unsafe.any, Js_of_ocaml.Js.Unsafe.any)
Js_of_ocaml.Js.meth_callback
Js_of_ocaml.Js.optdef
Js_of_ocaml.Js.readonly_prop
; template :
Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t Js_of_ocaml.Js.optdef
Js_of_ocaml.Js.readonly_prop
; watch : 'g Js_of_ocaml.Js.optdef Js_of_ocaml.Js.readonly_prop.. >
Js_of_ocaml.Js.t
option ->
< component :
'h 'i 'j 'k 'l 'm 'n 'o 'p. Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t ->
< components : 'm Js_of_ocaml.Js.optdef Js_of_ocaml.Js.readonly_prop
; computed : 'j Js_of_ocaml.Js.optdef Js_of_ocaml.Js.readonly_prop
; data : 'h Js_of_ocaml.Js.meth
; directives : 'n Js_of_ocaml.Js.optdef Js_of_ocaml.Js.readonly_prop
; emits :
Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t Js_of_ocaml.Js.js_array
Js_of_ocaml.Js.t
Js_of_ocaml.Js.optdef
Js_of_ocaml.Js.readonly_prop
; methods : 'i Js_of_ocaml.Js.optdef Js_of_ocaml.Js.readonly_prop
; name :
Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t Js_of_ocaml.Js.optdef
Js_of_ocaml.Js.readonly_prop
; props : 'l Js_of_ocaml.Js.optdef Js_of_ocaml.Js.readonly_prop
; render :
(Js_of_ocaml.Js.Unsafe.any, Js_of_ocaml.Js.Unsafe.any)
Js_of_ocaml.Js.meth_callback
Js_of_ocaml.Js.optdef
Js_of_ocaml.Js.readonly_prop
; template :
Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t Js_of_ocaml.Js.optdef
Js_of_ocaml.Js.readonly_prop
; watch : 'k Js_of_ocaml.Js.optdef Js_of_ocaml.Js.readonly_prop.. > as 'q
Js_of_ocaml.Js.t ->
'p Js_of_ocaml.Js.t Js_of_ocaml.Js.meth
; config : 'r config Js_of_ocaml.Js.t Js_of_ocaml.Js.readonly_prop
; mount :
's. Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t ->
's Js_of_ocaml.Js.t Js_of_ocaml.Js.meth
; use :
't. Js_of_ocaml.Js.Unsafe.any ->
't Js_of_ocaml.Js.t Js_of_ocaml.Js.meth.. >
Js_of_ocaml.Js.t
Source
val component :
?name:string ->
< component :
'b 'c 'd 'e 'f 'g 'h 'i 'j. Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t ->
< components : 'g Js_of_ocaml.Js.optdef Js_of_ocaml.Js.readonly_prop
; computed : 'd Js_of_ocaml.Js.optdef Js_of_ocaml.Js.readonly_prop
; data : 'b Js_of_ocaml.Js.meth
; directives : 'h Js_of_ocaml.Js.optdef Js_of_ocaml.Js.readonly_prop
; emits :
Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t Js_of_ocaml.Js.js_array
Js_of_ocaml.Js.t
Js_of_ocaml.Js.optdef
Js_of_ocaml.Js.readonly_prop
; methods : 'c Js_of_ocaml.Js.optdef Js_of_ocaml.Js.readonly_prop
; name :
< get :
Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t Js_of_ocaml.Js.Optdef.t >
Js_of_ocaml.Js.gen_prop
; props : 'f Js_of_ocaml.Js.optdef Js_of_ocaml.Js.readonly_prop
; render :
(Js_of_ocaml.Js.Unsafe.any, Js_of_ocaml.Js.Unsafe.any)
Js_of_ocaml.Js.meth_callback
Js_of_ocaml.Js.optdef
Js_of_ocaml.Js.readonly_prop
; template :
Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t Js_of_ocaml.Js.optdef
Js_of_ocaml.Js.readonly_prop
; watch : 'e Js_of_ocaml.Js.optdef Js_of_ocaml.Js.readonly_prop.. > as 'k
Js_of_ocaml.Js.t ->
'j Js_of_ocaml.Js.t Js_of_ocaml.Js.meth
; config : 'l config Js_of_ocaml.Js.t Js_of_ocaml.Js.readonly_prop
; mount :
'm. Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t ->
'm Js_of_ocaml.Js.t Js_of_ocaml.Js.meth
; use :
'n. Js_of_ocaml.Js.Unsafe.any ->
'n Js_of_ocaml.Js.t Js_of_ocaml.Js.meth.. > as 'a
Js_of_ocaml.Js.t ->
< components : 'o Js_of_ocaml.Js.optdef Js_of_ocaml.Js.readonly_prop
; computed : 'p Js_of_ocaml.Js.optdef Js_of_ocaml.Js.readonly_prop
; data : 'q Js_of_ocaml.Js.meth
; directives : 'r Js_of_ocaml.Js.optdef Js_of_ocaml.Js.readonly_prop
; emits :
Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t Js_of_ocaml.Js.js_array
Js_of_ocaml.Js.t
Js_of_ocaml.Js.optdef
Js_of_ocaml.Js.readonly_prop
; methods : 's Js_of_ocaml.Js.optdef Js_of_ocaml.Js.readonly_prop
; name : 't Js_of_ocaml.Js.gen_prop
; props : 'u Js_of_ocaml.Js.optdef Js_of_ocaml.Js.readonly_prop
; render :
(Js_of_ocaml.Js.Unsafe.any, Js_of_ocaml.Js.Unsafe.any)
Js_of_ocaml.Js.meth_callback
Js_of_ocaml.Js.optdef
Js_of_ocaml.Js.readonly_prop
; template :
Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t Js_of_ocaml.Js.optdef
Js_of_ocaml.Js.readonly_prop
; watch : 'v Js_of_ocaml.Js.optdef Js_of_ocaml.Js.readonly_prop.. >
Js_of_ocaml.Js.t ->
'a Js_of_ocaml.Js.t
Source
val mount :
?id:string ->
< component :
'b 'c 'd 'e 'f 'g 'h 'i 'j. Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t ->
< components : 'g Js_of_ocaml.Js.optdef Js_of_ocaml.Js.readonly_prop
; computed : 'd Js_of_ocaml.Js.optdef Js_of_ocaml.Js.readonly_prop
; data : 'b Js_of_ocaml.Js.meth
; directives : 'h Js_of_ocaml.Js.optdef Js_of_ocaml.Js.readonly_prop
; emits :
Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t Js_of_ocaml.Js.js_array
Js_of_ocaml.Js.t
Js_of_ocaml.Js.optdef
Js_of_ocaml.Js.readonly_prop
; methods : 'c Js_of_ocaml.Js.optdef Js_of_ocaml.Js.readonly_prop
; name :
Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t Js_of_ocaml.Js.optdef
Js_of_ocaml.Js.readonly_prop
; props : 'f Js_of_ocaml.Js.optdef Js_of_ocaml.Js.readonly_prop
; render :
(Js_of_ocaml.Js.Unsafe.any, Js_of_ocaml.Js.Unsafe.any)
Js_of_ocaml.Js.meth_callback
Js_of_ocaml.Js.optdef
Js_of_ocaml.Js.readonly_prop
; template :
Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t Js_of_ocaml.Js.optdef
Js_of_ocaml.Js.readonly_prop
; watch : 'e Js_of_ocaml.Js.optdef Js_of_ocaml.Js.readonly_prop.. > as 'k
Js_of_ocaml.Js.t ->
'j Js_of_ocaml.Js.t Js_of_ocaml.Js.meth
; config : 'l config Js_of_ocaml.Js.t Js_of_ocaml.Js.readonly_prop
; mount :
'm. Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t ->
'm Js_of_ocaml.Js.t Js_of_ocaml.Js.meth
; use :
'n. Js_of_ocaml.Js.Unsafe.any ->
'n Js_of_ocaml.Js.t Js_of_ocaml.Js.meth.. > as 'a
Js_of_ocaml.Js.t ->
'a Js_of_ocaml.Js.t
Source
val use :
< component :
'b 'c 'd 'e 'f 'g 'h 'i 'j. Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t ->
< components : 'g Js_of_ocaml.Js.optdef Js_of_ocaml.Js.readonly_prop
; computed : 'd Js_of_ocaml.Js.optdef Js_of_ocaml.Js.readonly_prop
; data : 'b Js_of_ocaml.Js.meth
; directives : 'h Js_of_ocaml.Js.optdef Js_of_ocaml.Js.readonly_prop
; emits :
Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t Js_of_ocaml.Js.js_array
Js_of_ocaml.Js.t
Js_of_ocaml.Js.optdef
Js_of_ocaml.Js.readonly_prop
; methods : 'c Js_of_ocaml.Js.optdef Js_of_ocaml.Js.readonly_prop
; name :
Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t Js_of_ocaml.Js.optdef
Js_of_ocaml.Js.readonly_prop
; props : 'f Js_of_ocaml.Js.optdef Js_of_ocaml.Js.readonly_prop
; render :
(Js_of_ocaml.Js.Unsafe.any, Js_of_ocaml.Js.Unsafe.any)
Js_of_ocaml.Js.meth_callback
Js_of_ocaml.Js.optdef
Js_of_ocaml.Js.readonly_prop
; template :
Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t Js_of_ocaml.Js.optdef
Js_of_ocaml.Js.readonly_prop
; watch : 'e Js_of_ocaml.Js.optdef Js_of_ocaml.Js.readonly_prop.. > as 'k
Js_of_ocaml.Js.t ->
'j Js_of_ocaml.Js.t Js_of_ocaml.Js.meth
; config : 'l config Js_of_ocaml.Js.t Js_of_ocaml.Js.readonly_prop
; mount :
'm. Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t ->
'm Js_of_ocaml.Js.t Js_of_ocaml.Js.meth
; use :
'n. Js_of_ocaml.Js.Unsafe.any ->
'n Js_of_ocaml.Js.t Js_of_ocaml.Js.meth.. > as 'a
Js_of_ocaml.Js.t ->
Js_of_ocaml.Js.Unsafe.any ->
'a Js_of_ocaml.Js.t
Source
val set_global :
< component :
'a 'b 'c 'd 'e 'f 'g 'h 'i. Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t ->
< components : 'f Js_of_ocaml.Js.optdef Js_of_ocaml.Js.readonly_prop
; computed : 'c Js_of_ocaml.Js.optdef Js_of_ocaml.Js.readonly_prop
; data : 'a Js_of_ocaml.Js.meth
; directives : 'g Js_of_ocaml.Js.optdef Js_of_ocaml.Js.readonly_prop
; emits :
Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t Js_of_ocaml.Js.js_array
Js_of_ocaml.Js.t
Js_of_ocaml.Js.optdef
Js_of_ocaml.Js.readonly_prop
; methods : 'b Js_of_ocaml.Js.optdef Js_of_ocaml.Js.readonly_prop
; name :
Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t Js_of_ocaml.Js.optdef
Js_of_ocaml.Js.readonly_prop
; props : 'e Js_of_ocaml.Js.optdef Js_of_ocaml.Js.readonly_prop
; render :
(Js_of_ocaml.Js.Unsafe.any, Js_of_ocaml.Js.Unsafe.any)
Js_of_ocaml.Js.meth_callback
Js_of_ocaml.Js.optdef
Js_of_ocaml.Js.readonly_prop
; template :
Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t Js_of_ocaml.Js.optdef
Js_of_ocaml.Js.readonly_prop
; watch : 'd Js_of_ocaml.Js.optdef Js_of_ocaml.Js.readonly_prop.. > as 'j
Js_of_ocaml.Js.t ->
'i Js_of_ocaml.Js.t Js_of_ocaml.Js.meth
; config : 'res config Js_of_ocaml.Js.t Js_of_ocaml.Js.readonly_prop
; mount :
'k. Js_of_ocaml.Js.js_string Js_of_ocaml.Js.t ->
'k Js_of_ocaml.Js.t Js_of_ocaml.Js.meth
; use :
'l. Js_of_ocaml.Js.Unsafe.any ->
'l Js_of_ocaml.Js.t Js_of_ocaml.Js.meth.. >
Js_of_ocaml.Js.t ->
string ->
'm ->
unit
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>