Version 7.0
make buildcd public
python3 -m http.server 8000Open http://localhost:8000 in a browser.
- Build output is a single
public/diva.min.jsbundle (Elm + TS) plus the OpenSeadragon CDN script. - 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/.