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

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

@CodingPhantoms

Description

@CodingPhantoms

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions