package virtual_dom
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >
  
  
  OCaml bindings for the virtual-dom library
Install
    
    dune-project
 Dependency
Authors
Maintainers
Sources
  
    
      v0.17.0.tar.gz
    
    
        
    
  
  
  
    
  
        sha256=812711b4d5ce634a413580cd7096482de8d71abec9ae37bb01f7c0dcec2968ec
    
    
  doc/virtual_dom.ui_effect/Ui_effect/For_testing/index.html
Module Ui_effect.For_testingSource
You can think of an Svar.t as like an Ivar.t whose purpose is to allow us to implement of_svar below.
Create an effect from a function that returns an Svar.t. This is mostly useful in testing, to emulate a 'query -> 'result Deferred.t function that does not return immediately. You may find Query_response_tracker a more convenient interface than using of_svar directly.
Source
val of_query_response_tracker : 
  ('query, 'result) Query_response_tracker.t ->
  'query ->
  'result t sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >