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.2.tar.gz
    
    
        
    
  
  
  
    
  
  
    
  
        sha256=203ee151ce793a977b2d3e66f8b3a0cd7a82cc7f15550c63d88cb30c71eb5f95
    
    
  md5=64367c393f80ca784f88d07155da4fb0
    
    
  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