package incr_dom
A library for building dynamic webapps, using Js_of_ocaml
Install
Dune Dependency
Authors
Maintainers
Sources
incr_dom-v0.14.0.tar.gz
sha256=57b0ca69e0ce3c38dadec5df8b0bfb9ec777192412f6259a04002a47e529ca05
md5=f7c6d58180d131d3546266252c11a64f
doc/incr_dom.ui_incr/Ui_incr/index.html
Module Ui_incr
module Incr : Incremental.S
val clock : Incr.Clock.t
include module type of struct include Incr end
type state_witness = Incr.state_witness
val sexp_of_state_witness : state_witness -> Ppx_sexp_conv_lib.Sexp.t
include Incremental.S_gen
with type 'a t = ('a, state_witness) Incremental.incremental
with type Before_or_after.t = Incremental.Before_or_after.t
with type Clock.t = state_witness Incremental.Clock.t
with type 'a Cutoff.t = 'a Incremental.Cutoff.t
with type 'a Expert.Dependency.t =
('a, state_witness) Incremental.Expert.Dependency.t
with type 'a Expert.Node.t = ('a, state_witness) Incremental.Expert.Node.t
with type 'a Observer.t = ('a, state_witness) Incremental.Observer.t
with type 'a Observer.Update.t = 'a Incremental.Observer.Update.t
with type Packed.t = Incremental.Packed.t
with type Scope.t = state_witness Incremental.Scope.t
with type State.t = state_witness Incremental.State.t
with type State.Stats.t = Incremental.State.Stats.t
with type ('a, 'b) Unordered_array_fold_update.t =
('a, 'b) Incremental.Unordered_array_fold_update.t
with type 'a Update.t = 'a Incremental.Update.t
with type 'a Var.t = ('a, state_witness) Incremental.Var.t
module State = Incr.State
type 'a t = ('a, state_witness) Incremental.incremental
val sexp_of_t :
('a -> Ppx_sexp_conv_lib.Sexp.t) ->
'a t ->
Ppx_sexp_conv_lib.Sexp.t
type 'a incremental := 'a t
include Core_kernel.Invariant.S1 with type 'a t := 'a t
val invariant : ('a -> unit) -> 'a t -> unit
val is_const : _ t -> bool
val is_valid : _ t -> bool
val is_necessary : _ t -> bool
val const : 'a -> 'a t
val return : 'a -> 'a t
module Infix = Incr.Infix
module Unordered_array_fold_update = Incr.Unordered_array_fold_update
val unordered_array_fold :
?full_compute_every_n_changes:int ->
'a t array ->
init:'b ->
f:('b -> 'a -> 'b) ->
update:('a, 'b) Unordered_array_fold_update.t ->
'b t
module Scope = Incr.Scope
module Var = Incr.Var
module Observer = Incr.Observer
val observe : ?should_finalize:bool -> 'a t -> 'a Observer.t
module Update = Incr.Update
module Cutoff = Incr.Cutoff
val lazy_from_fun : (unit -> 'a) -> 'a Core_kernel.Lazy.t
val memoize_fun :
?initial_size:int ->
'a Base.Hashtbl.Key.t ->
('a -> 'b) ->
('a -> 'b) Core_kernel.Staged.t
val memoize_fun_by_key :
?initial_size:int ->
'key Base.Hashtbl.Key.t ->
('a -> 'key) ->
('a -> 'b) ->
('a -> 'b) Core_kernel.Staged.t
val weak_memoize_fun :
?initial_size:int ->
'a Base.Hashtbl.Key.t ->
('a -> 'b Core_kernel.Heap_block.t) ->
('a -> 'b Core_kernel.Heap_block.t) Core_kernel.Staged.t
val weak_memoize_fun_by_key :
?initial_size:int ->
'key Base.Hashtbl.Key.t ->
('a -> 'key) ->
('a -> 'b Core_kernel.Heap_block.t) ->
('a -> 'b Core_kernel.Heap_block.t) Core_kernel.Staged.t
val user_info : _ t -> Core_kernel.Info.t option
val set_user_info : _ t -> Core_kernel.Info.t option -> unit
module Node_value = Incr.Node_value
val node_value : 'a t -> 'a Node_value.t
node_value t
returns whatever value t
happens to have in it, regardless of whether t
is valid, necessary, or stale. One should use observe
for a more sensible semantics, reserving node_value
for debugging.
module Packed = Incr.Packed
module Let_syntax = Incr.Let_syntax
module Before_or_after = Incr.Before_or_after
module Step_function = Incr.Step_function
module Clock = Incr.Clock
module Expert = Incr.Expert
module Map : sig ... end
module Select : sig ... end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>