package ocsigen-toolkit

All checked builds pass
  1. Overview
  2. Docs
Reusable UI components for Eliom applications (client only, or client-server)

Install

dune-project
 Dependency

Authors

Maintainers

Sources

5.0.0.tar.gz
md5=94767ed327f1b17bdf81bb6eae92d8da
sha512=86e2522ed7f9f1aba2da9f2dec7bb764aa1357fe48d560da5565d8e77d8307ba14f9637a1025c010acf9c77c8e8bfd59c0672be7d9da59ea4520ebac24ea2314

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).