package vue-jsoo
Binding of Vue_js
Install
Dune Dependency
Authors
Maintainers
Sources
archive?sha=2a338bcccd3cdd4c5b3c488f84b954baa976840e
md5=d8095fc66a530f25abb2c0b994e2e720
sha512=0068240dff39fb5e08a61bb36540b6fffa5d015abb7b4f5eb6a00425f8d860d7f73493d63779b6cc269680192cdab4c3dc662c5631ae1e195f6f58e92815f4e2
doc/src/vue-jsoo.chartjs/vue_chartjs.ml.html
Source file vue_chartjs.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
open Js_of_ocaml open Js open Mjs open Vue_component type vue_component = any class type mixins = object method reactiveData : any readonly_prop method reactiveProp : any readonly_prop end class type vue_charts = object method _Bar : vue_component readonly_prop method _HorizontalBar : vue_component readonly_prop method _Doughnut : vue_component readonly_prop method _Line : vue_component readonly_prop method _Pie : vue_component readonly_prop method _PolarArea : vue_component readonly_prop method _Radar : vue_component readonly_prop method _Bubble : vue_component readonly_prop method _Scatter : vue_component readonly_prop method mixins : mixins t readonly_prop method generateChart : Unsafe.any readonly_prop end let vue_charts : vue_charts t = Unsafe.variable "VueChartJs" let make typ id = make ~extends:typ ~props:(PrsArray ["data"; "options"]) ~mounted:(fun this -> let this = Unsafe.coerce this in this##renderChart this##.data this##.options) id let make_line () = make vue_charts##._Line "line-chart" let make_bar () = make vue_charts##._Bar "bar-chart"
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>