To focus the search input from anywhere on the page, press the 'S' key.
in-package search v0.1.0
package incremental
-
incremental
-
-
incremental.incremental_step_function
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
A t
represents the edge from a child incremental to a parent expert node. A t
is stateful, you cannot use the same t
to link one child node to multiple parents at the same time.
val sexp_of_t :
('a -> Sexplib0.Sexp.t) ->
('w -> Sexplib0.Sexp.t) ->
('a, 'w) t ->
Sexplib0.Sexp.t
val create : ?on_change:('a -> unit) -> ('a, 'w) incremental -> ('a, 'w) t
When calling create ?on_change child
, nothing happens until the t
is linked to a parent. see Node.add_dependency
for documentation of on_change
.
val value : ('a, _) t -> 'a
value t
reads the value of the child incremental. It can only be used from the callback of the Expert.Node.t
that has t
in its set of dependencies.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>