package spin
Project scaffolding tool and set of templates for Reason and OCaml
Install
Dune Dependency
Authors
Maintainers
Sources
spin-0.5.0.tbz
sha256=99368bedae2b37dc243027c49b8465ea4891864cf01a193d6b99751458428443
sha512=55de0b9d973ac6de9586950b314ef2d396c52e8cc61427b48c9b65a25770305053a2c274497649e37cb1b8584f9b3a2d2b9b03427437344ca250649ab51dc3c6
doc/spin.lib/Spin/Prompt_cfg/index.html
Module Spin.Prompt_cfg
val string_cfg_of_sexp : Sexplib0.Sexp.t -> string_cfg
type list_cfg = {
name : Base.string;
prompt : Base.string;
values : Base.string Base.list;
default : Base.string Base.option;
}
val list_cfg_of_sexp : Sexplib0.Sexp.t -> list_cfg
val confirm_cfg_of_sexp : Sexplib0.Sexp.t -> confirm_cfg
val get_context_or_prompt :
global_context:Global_context.t Base.option ->
t Base.List.t ->
(string * Jingoo.Jg_types.tvalue) list * t list
val prompt_config :
?use_defaults:bool ->
t ->
Base.string * Jingoo.Jg_types.tvalue
val apply_template_to_cst :
t ->
models:(Base.string * Jingoo.Jg_types.tvalue) Base.list ->
t
val prompt_configs :
?use_defaults:bool ->
?global_context:Global_context.t Base.option ->
t Base.list ->
(Base.string * Jingoo.Jg_types.tvalue) Base.List.t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>