Skip to content
This repository has been archived by the owner on Apr 2, 2023. It is now read-only.

[Angular 6] No area selector over the image #210

Open
CodingPhantoms opened this issue Mar 26, 2019 · 0 comments
Open

[Angular 6] No area selector over the image #210

CodingPhantoms opened this issue Mar 26, 2019 · 0 comments

Comments

@CodingPhantoms
Copy link

CodingPhantoms commented Mar 26, 2019

Hello,

I have imported JS and CSS from the folder that I had downloaded, so in .TS I created:

anno: any;

ngOnInit() {
this.anno = window['anno'];
this.anno.makeAnnotatable(document.getElementById('annotatable'));
}

In .HTML I have:
<img src="images/random.jpg" id="annotatable" />

So now, over the image I am able to see "Click and Drag to Annotate" on the left upper corner, but I can't annotate anything, can't see the area selector, just that text. Where am I wrong?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant