Let’s create a component called SvgDraw that will allow us to create SVG shapes that can be used as overlays in OpenSeadragon (or elsewhere).
[diagram prototype here of final result]
What you will learn in this tutorial:
- How to begin development on a custom component.
- How to add custom styles to your component.
- How to add third party library dependencies.
- How to add library dependencies to the example demo only.
- How to fire events and communicate with other components.
- How to write tests for your component.
Let’s get started!