All assets are bundled into a JS files in the dist/
subdirectory:
anno-frontend.dev.js
: Development build, optimized for debugging.anno-frontend.prod.js
: Production build, optimized for performance.
Both install the application factory function into the property
displayAnnotations
of the window global.
Choose either one and include it as a script tag into the website in which the annotations sidebar app shall run.
This factory function can then be used to initialize an instance of the annotations sidebar app into an existing DOM element.
Currently, only one instance of the app can run per browser frame.
See source code of
../test/html/displayAnnotations.nm.html
.