Skip to content
This repository has been archived by the owner on Dec 16, 2021. It is now read-only.

pass plugin-specific OSD event handlers as arguments to createOpenSeadragonInstance #3

Open
markmatney opened this issue Jul 17, 2017 · 0 comments

Comments

@markmatney
Copy link
Contributor

markmatney commented Jul 17, 2017

It would be nice if there was a more elegant way to add extra event handlers to OSD. Currently, this is possible only by rewriting the entire method. Perhaps there should be a default list of event handlers defined as a property on the viewType (e.g. ImageVIew.osdHandlers) which could be appended to as necessary.

@markmatney markmatney changed the title modify Mirador so plugins can easily add event handlers to a viewType's OSD pass plugin-specific OSD event handlers as arguments to createOpenSeadragonInstance Jul 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant