package cohttp_static_handler
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
A library for easily creating a cohttp handler for static files
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.17.0.tar.gz
sha256=be86c64e3a5c2c875aafdd27a7d1dd574784d964866c6084c10f931377c164ac
doc/CHANGES.html
Release v0.17.0
Asset.fileandAsset.file_serve_asnow have arelative_toparameter for resolving relative paths with options:Cwd(current working directory) orExe(executable's directory).- Added an optional
metadataparameter to allow adding additional meta tags to the page.
Release v0.16.0
- Remove
js_handlerandembedded_js_handlerfromCohttp_static_handler.Single_page_handlerThese functions were frequently misused and didn't allow specifying the load order of javascript on the page. Please use [create_handler] directly
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page