package eliom
Advanced client/server Web and mobile framework
Install
Dune Dependency
Authors
Maintainers
Sources
11.0.0.tar.gz
md5=1c1f8e90f27f81f0e7f002e79340d200
sha512=4c4266c2f979e6d23a7ed385d92e3c6513e27e6372e532171a1d03e385c5fb15ad791e23cee22d9411b253526094eba8496d5bd564b1feea8c6ded738cddda24
doc/eliom.server/Eliom_shared/ReactiveData/RList/index.html
Module ReactiveData.RList
Source
include Eliom_shared_sigs.RLIST
with type 'a signal := 'a React.S.t
and type 'a sv := 'a Value.t
and type 'a ct := 'a FakeReactiveData.RList.t
and type 'a chandle := 'a FakeReactiveData.RList.handle
The type of (shared) reactive lists
Handles are used to manipulate reactive lists
Source
val create :
?default:
('a FakeReactiveData.RList.t * 'a FakeReactiveData.RList.handle) option
Eliom_client_value.t ->
?reset_default:bool ->
'a list ->
'a t * 'a handle
create ?default ?reset_default l
produces a pair l, f
, where s
is a (shared) reactive list, and f
is a handle for manipulating the list.
The initial value of the list is l
, unless default
is provided. default
, if provided, is used as the client-side list (and corresponding handle). reset_default
, if set to true (default: false), resets the value of default
to l
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>