package incr_dom
A library for building dynamic webapps, using Js_of_ocaml
Install
Dune Dependency
Authors
Maintainers
Sources
incr_dom-v0.16.0.tar.gz
sha256=199e5d3ab8299832e3c2c3a08db86a0e5859420e88a867f4da331b91d2078c1b
doc/incr_dom.vdom_file_download/Vdom_file_download/index.html
Module Vdom_file_download
Source
A utility for causing the browser to download a file with the contents taken from a string.
Immediately cause the browse to trigger a download for t
. You can use this to build a more complex UI for downloads than is offered by Button.create
-- e.g. a button that calls an RPC and downloads a file based on the result.
In tests, this just prints a message rather than triggering the download.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>