Closed IgelCampus closed 4 months ago
The intended way is to wait for the ready
promise before accessing any API properties, like this:
await tify.ready
let osd = tify.viewer
Currently though, this is working for anything but viewer
, for which you would have to wait manually. I’m adding an issue, this will get fixed.
Fixed in v0.31.0.
I am currently playing around with Tify and like it quite a lot. The homepage mentions (without an example) that the viewer object exposes the full OpenSeadragon API. Could you provide an example how to access this? My naive attempt with
is not working.