package quickterface

  1. Overview
  2. Docs
Quick-to-program app interfaces in OCaml for terminal and web

Install

dune-project
 Dependency

Authors

Maintainers

Sources

quickterface-0.1.0.tbz
sha256=8261e3819564fb5d05f1f313e62b73382152591d7a4349ae5b1b08a4fc2469f3
sha512=e739a971bb0e696ab716c168419c59a3d195922d2d1e4963106a845e3442ffa085b05106f36cceeec9b806bf7d6ef2c31e98db04911fbf73c5ac0ce626449d0f

doc/quickterface_web_app_backend/Quickterface_web_app_backend/Log/index.html

Module Quickterface_web_app_backend.LogSource

Sourcetype t = {
  1. document : Js_of_ocaml.Dom_html.document Js_of_ocaml.Js.t;
  2. container : Js_of_ocaml.Dom_html.divElement Js_of_ocaml.Js.t;
}
Sourceval make : document:Js_of_ocaml.Dom_html.document Js_of_ocaml.Js.t -> main_container:Js_of_ocaml.Dom.node Js_of_ocaml.Js.t -> t
Sourceval input_text : ?prompt:string -> t -> unit -> string Lwt.t
Sourceval input_integer : t -> unit -> int Lwt.t
Sourceval input_single_selection : t -> 'a list -> ('a -> string) -> unit -> 'a Lwt.t
Sourceval input_single_selection_string : t -> string list -> unit -> string Lwt.t
Sourceval input_multi_selection : t -> 'a list -> ('a -> string) -> unit -> 'a list Lwt.t
Sourceval input_multi_selection_string : t -> string list -> unit -> string list Lwt.t
Sourceval add_output_text : ?options:Quickterface.Output_text_options.t -> t -> value:string -> unit -> unit Lwt.t
Sourceval add_output_math : ?options:Quickterface.Output_text_options.t -> t -> value:Quickterface.Math.t -> unit -> unit Lwt.t
Sourceval add_output_title : t -> value:string -> unit -> unit Lwt.t
Sourceval with_progress_bar : ?label:string -> t -> maximum:int -> f:(increment_progress_bar:(unit -> unit Lwt.t) -> unit -> 'a Lwt.t) -> unit -> 'a Lwt.t