package alba
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Alba compiler
Install
dune-project
Dependency
Authors
Maintainers
Sources
0.4.4.tar.gz
sha256=4817038301d3e45bac9edf7e6f2fc8bf0a6d78e76e02ad7ea33ef69bcc17df3b
md5=25234357587126685d64f16236167937
doc/alba.fmlib_js/Fmlib_js/Browser/Make/index.html
Module Browser.MakeSource
Parameters
Signature
Source
type ('model, 'msg) t = {window : window Js_of_ocaml.Js.t;root : node Js_of_ocaml.Js.t;view : 'model -> 'msg Vdom.t;update : 'msg -> 'model -> 'model * 'msg Command.t;subscription : 'model -> 'msg Subscription.t;mutable model : 'model;mutable dirty : bool;mutable tree : 'msg Tree.t option;
}Source
val make :
window Js_of_ocaml.Js.t ->
node Js_of_ocaml.Js.t ->
'model ->
('model -> 'msg Vdom.t) ->
('msg -> 'model -> 'model * 'msg Command.t) ->
('model -> 'msg Subscription.t) ->
('model, 'msg) tSource
val make_event_handler :
('model, 'msg) t ->
'msg Decoder.t ->
(Fmlib.Common.Void.t Js_of_ocaml.Js.t -> unit) Js_of_ocaml.Js.callbackSource
val element :
'a Decoder.t ->
('a -> 'model * 'msg App.Command.t) ->
('model -> 'msg Vdom.t) ->
('msg -> 'model -> 'model * 'msg App.Command.t) ->
('model -> 'msg App.Subscription.t) ->
unit sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page