package quickterface
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
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/src/quickterface.terminal_app/log.ml.html
Source file log.ml
1 2 3 4 5 6 7 8 9 10 11open! Core type t = { items_rev : Log_item.t list } let make () = { items_rev = [] } let render ~render_info { items_rev } = let open Notty.I in items_rev |> List.rev |> List.map ~f:(Log_item.render ~render_info) |> vcat let add_log_item t item = { items_rev = item :: t.items_rev }
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>