Diva.js 4.0.0
New features in Diva.js 4.0.0:
- International Image Interoperability Framework (IIIF) support
- Book Layout view (facing pages)
- New plugins: Autoscroll (animated page scrolling), Page Alias (pages may have multiple identifiers), IIIF Metadata (displays document metadata from IIIF manifest), IIIF Highlight (displays annotations from a IIIF manifest)
- Improved development workflow (Gulp)
- Support for switching documents without reloading the viewer (by calling changeObject)
- Numerous bug fixes and optimizations (See our commits)
For more details, see the readme.
Note: Some existing features from 3.0 have changed. The breaking changes are as follows (see links for more information):
- We use gulp and npm for development instead of a shell script (
build.shhas been removed), and UglifyJS instead of Closure Compiler for Javascript minification. - Callback functions (
onReady, etc), deprecated in 3.0, have been removed and replaced with Events. - The URL hash parameters used in get/setState now use a
vkey for 'view' instead ofgfor 'grid'. - In the Plugin API, since callback functions are no longer used, the
setupHookanddestroyare no longer automatically bound—use Events.