mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-25 06:36:11 +03:00
Updated Making OpenSeadragon Plugins (markdown)
parent
8bc7858181
commit
9c5589e448
@ -1,6 +1,6 @@
|
|||||||
We don't have a formal plugin architecture (though we're open to suggestions on that front). Basically you just create a new JS file that's intended to be loaded after openseadragon.js, and which patches OpenSeadragon in some way or another to enable your functionality.
|
We don't have a formal plugin architecture (though we're open to suggestions on that front). Basically you just create a new JS file that's intended to be loaded after openseadragon.js, and which patches OpenSeadragon in some way or another to enable your functionality.
|
||||||
|
|
||||||
Once you have created your plugin, link to it from https://github.com/openseadragon/site-build/issues/26 and we'll get it on the directory.
|
Once you have created your plugin, you can add it to our directory by making a pull request on this file: https://github.com/openseadragon/site-build/blob/master/www/index.html
|
||||||
|
|
||||||
Tips:
|
Tips:
|
||||||
|
|
||||||
@ -23,4 +23,4 @@ Example:
|
|||||||
})(OpenSeadragon);
|
})(OpenSeadragon);
|
||||||
```
|
```
|
||||||
|
|
||||||
For reference, you can check out https://github.com/NISTDeepZoom/OpenSeadragonScalebar as an example plugin.
|
For reference, you can check out https://github.com/NISTDeepZoom/OpenSeadragonScalebar as an example plugin, or any of the other plugins at http://openseadragon.github.io/#plugins.
|
Loading…
Reference in New Issue
Block a user