package cordova-plugin-datepicker

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type mode =
  1. | Date
  2. | Time
  3. | Datetime
type android_theme =
  1. | Theme_traditional
  2. | Theme_holo_dark
  3. | Theme_holo_light
  4. | Theme_device_default_dark
  5. | Theme_device_default_light
type arrow_direction =
  1. | Up
  2. | Down
  3. | Left
  4. | Right
  5. | Any
type options = private Ojs.t
val create_options : ?mode:mode -> ?date:Js_date.t -> ?min_date:Js_date.t -> ?max_date:Js_date.t -> ?title_text:string -> ?ok_text:string -> ?now_text:string -> ?is_24_hour:bool -> ?android_theme:android_theme -> ?allow_old_dates:bool -> ?allow_future_dates:bool -> ?done_button_label:string -> ?done_button_color:string -> ?cancel_button_label:string -> ?cancel_button_color:string -> ?x:int -> ?y:int -> ?minute_interval:int -> ?popover_arrow_direction:arrow_direction -> ?locale:string -> unit -> options
val show : ?options:options -> (Js_date.t -> unit) -> (string -> unit) -> unit