package ocsigen-toolkit
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
Reusable UI components for Eliom applications (client only, or client-server)
Install
dune-project
Dependency
Authors
Maintainers
Sources
4.3.0.tar.gz
md5=69be960fcd9bd4980c97ec2abebedc80
sha512=f1d76fc73046f9d577cdcaa85adf3e372995d924a6cbbd1bb189e294d717bc35c1d9cda3701189a4436c2d45fc8ddc2a16f8198182ac071fd501bb7d882a2276
doc/ocsigen-toolkit.server/Ot_color_picker/index.html
Module Ot_color_picker
This module implements a color picker.
hsv_to_rgb h s v converts HS(V/L) colors to RGB.
val make :
?a:[< Html_types.div_attrib Class ] Eliom_content.Html.attrib list ->
?hsv:(int * float * float) ->
?update:(int * float * float) React.E.t Eliom_client_value.t ->
unit ->
[> `Div ] Eliom_content.Html.D.elt
* (int * float * float) Eliom_shared.React.S.tmake () produces a color picker. ?a is an optional parameter to add html attributes to main element, by default it is the empty list ?hsv hue, saturation and value of the initial color displayed by the color picker ?update is an optional React event that allows to change the selected color from outside
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>