Comments (2)
Because I want to make a drop-down box that meets the requirements by clicking clickAnnotation event, I hope the author can help me in time, thank you very much
from annotorious.
Extending the editor is problematic in Annotorious v2. Did you see the documentation here?
https://annotorious.github.io/guides/editor-widgets/
This might help to get you started.
Another option, if you want to build your own editor entirely: Each annotation is an SVG shape. You can listen to the selectAnnotation event. The event will give you a reference to the SVG element as a second argument. You could use this to get the position using element.getBoundingClientRect()
for the position.
from annotorious.
Related Issues (20)
- Support for multiple `targets` attached to the same `Annotation` HOT 4
- Why the `AnnotationBodyIdentifier` is used? 🤔 HOT 2
- Missing ID for selected annotation in headless mode HOT 1
- Allow using the `Store` methods with the `TextAnnotation` model
- Rename the `AnnotoriousPlugin` cleanup callback `unmount` -> `destroy`
- Make `AnnotoriousPlugin` a generic container for any specific annotation types
- OpenSeadragon: filtering does not work after drawing an annotation HOT 5
- `AnnotoriousPlugin` component doesn't reapply the `plugin` on its change HOT 4
- Want to know why updates go into formatter twice after annotation dragging
- AnnotationBody 'purpose' field not getting auto-complete
- 'ImageAnnotator' only refers to a type, but is being used as a value here.
- I want the editor to support drop-down options, and I want the author to adopt them HOT 1
- An error occurs in anno.addAnnotation(annotation); HOT 3
- More control over React ImageAnnotator div HOT 1
- Safari rendering bug - box around annotation isn't removed HOT 1
- No way to remove an annotation that has no body
- Issues when displaying annotations with SVG <path> selector HOT 5
- Unmemoized `AnnotoriousContext` state forces too frequent re-renders for its children HOT 2
- How to customize more drawing tools? HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from annotorious.