package ocsigen-toolkit

  1. Overview
  2. Docs
type intl = {
  1. i_days : string list;
  2. i_months : string list;
  3. i_start : [ `Fri | `Mon | `Sat | `Sun | `Thu | `Tue | `Wed ];
}
type button_labels = {
  1. b_prev_year : string;
  2. b_prev_month : string;
  3. b_next_month : string;
  4. b_next_year : string;
}
val make : ?init:(int * int * int) -> ?highlight:(int -> int -> int list Lwt.t) Eliom_client_value.t -> ?click_non_highlighted:bool -> ?update:(int * int * int) React.E.t Eliom_client_value.t -> ?action:(int -> int -> int -> unit Lwt.t) Eliom_client_value.t -> ?period: (CalendarLib.Date.field CalendarLib.Date.date * CalendarLib.Date.field CalendarLib.Date.date) -> ?button_labels:button_labels -> ?intl:intl -> unit -> [> `Table ] Eliom_content.Html.elt
val make_date_picker : ?init:(int * int * int) -> ?update:(int * int * int) React.E.t Eliom_client_value.t -> ?button_labels:button_labels -> ?intl:intl -> ?period: (CalendarLib.Date.field CalendarLib.Date.date * CalendarLib.Date.field CalendarLib.Date.date) -> unit -> [> `Table ] Eliom_content.Html.elt * (int * int * int) Eliom_shared.React.S.t
OCaml

Innovation. Community. Security.