Version 7.0
make buildpython3 -m http.server 8000Open http://localhost:8000 in a browser.
- Build output is a single
build/diva.jsbundle (Elm + TS) plus the OpenSeadragon CDN script. A debug build is available asbuild/diva.debug.js. - Initialize the viewer in
public/index.htmlwithnew Diva("diva-wrapper", { objectData, acceptHeaders }). src/viewer-element.tsdefines theosd-viewercustom element used by the Elm view.src/diva.tsowns the Elm ports and the filter preview OpenSeadragon instance.make cleanremoves generated artifacts inbuild/andpublic/.