package virtual_dom
-
virtual_dom
-
-
virtual_dom.keyboard
-
-
virtual_dom.layout
-
virtual_dom.svg
-
virtual_dom.ui_effect
-
virtual_dom.vdom_test_helpers
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Query_response_tracker
is an interface designed to make of_svar
more convenient to use. When the function returned by of_query_response_tracker t
is called (typically by your bonsai app), the query passed is stored within t
. Your test code can then call maybe_respond
to cause those effects to 'become determined'.
val create : unit -> (_, _) t
val maybe_respond : ('q, 'r) t -> f:('q -> 'r maybe_respond) -> unit
val queries_pending_response : ('q, _) t -> 'q list
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>