Index of values
bind ~compute_final_pos elt makes elt left-right swipable on touch screens.
List of bullets for carousel.
Build a drawer menu on the left, right, top or bottom of the screen.
Section with header, content and footer.
hsv_to_rgb h s v converts HS(V/L) colors to RGB.
Create a file input element with good input type ot-pup-input class and wrap it into a label.
make ?init_up ?up_txt ?down_txt () produces a binary toggle.
make ?action ?round_5 ?h24 () produces a clock-style time picker for hours and minutes.
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.
Creates a pull-to-refresh container from an html element.
make () produces a color picker.
Creates a carousel from the elements of a list.
make ?highlight ?click_any ?action produces a calendar.
make_date_picker ?init () returns a client-side reactive signal (y, m, d) corresponding to the date d:m:y that the user clicks on.
Alias of make.
same as make except for the last argument.
mk_service name arg_deriver Create a named service taking (arg_deriver, (cropping, file)) parameter
Button to go to the next page (or more pages if offset is present).
Create a img element with no src, no alt and ot-pup-preview class.
Button to go to the previous page (or mores page if offset is present).
Menu (or tabs) for carousel.
Create a button with ot-pup-sumit clas
A tongue is an expandable panel that can appear from a side of the screen (usually top or bottom).
Carousel with 3D effect.
On client side, with_spinner th returns immediately a spinner while Lwt thread th is not finished, that will automatically be replaced by the result of th when finished.