package melange
Specialized bindings to Promise. Note: For simplicity, this binding does not track the error type, it treat it as an opaque type
val make :
(resolve:('a -> unit) Js.Fn.arity1 ->
reject:(exn -> unit) Js.Fn.arity1 ->
unit) ->
'a t
val resolve : 'a -> 'a t
val reject : exn -> 'a t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>