I've added a configuration option to allow the instance of the <OpenSeadragonViewer> component to have a specified container ID. This means you can have more than one of them on a page without them interfering. The options prop can now take an optional containerId key with a string value; it defaults to 'openseadragon1' which should resolve any backward compatibility issues with people targeting that ID.
I've written a couple of (passing) tests to check the functionality.
Hi there
I've added a configuration option to allow the instance of the
<OpenSeadragonViewer>
component to have a specified container ID. This means you can have more than one of them on a page without them interfering. Theoptions
prop can now take an optionalcontainerId
key with a string value; it defaults to'openseadragon1'
which should resolve any backward compatibility issues with people targeting that ID.I've written a couple of (passing) tests to check the functionality.
Hope this is useful