package incr_dom
A library for building dynamic webapps, using Js_of_ocaml.
Install
Dune Dependency
Authors
Maintainers
Sources
incr_dom-v0.11.0.tar.gz
sha256=ead199c72bad9d0b6463ff7e9bb08b79d7b97dc055e5bd26dd861f9d79a6343a
md5=47ecf4cd854979e3ca9ae1c3351d17ce
README.org.html
README.org
#+TITLE: ~Incr_dom~: a library for writing dynamic web-apps #+PARENT: ../../doc/webdev/index.org A library for building dynamic webapps, using =Js_of_ocaml=. The library is designed roughly on a model/view/controller model. Your application is built out of: - A functional model type that tracks the state of your application. - An incremental /view/ function for computing an HTML-like representation of how your application should render on the browser. The is based on the [[https://github.com/Matt-Esch/virtual-dom][virtual-dom]] javascript library. - An action type that is used to schedule events that update the model. Combined with the ability to use Async, and in particular to send out network requests using websockets, this should allow the easy construction of rich web applications in a fairly comprehensible style. If you want a more concrete sense of how this works, look in the examples directory.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>