package ocsigen-toolkit

  1. Overview
  2. Docs
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_range/index.html

Module Ot_range

Range selection widget

val make : ?txt_up:string -> ?txt_down:string -> ?f:(int -> string) -> ?lb:int -> int -> [> `Div ] Eliom_content.Html.elt * int Eliom_shared.React.S.t

make ?txt_up ?txt_down ~f ~lb ub produces a widget for picking one of the values in [lb, ub) via "up" and "down" buttons marked with the text txt_up and txt_down. f i provides the text displayed for the i-th value, for i in [lb, ub).