Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

labelClicked这个功能不想触发它,怎么破? #19

Closed
heroking opened this issue Jan 31, 2019 · 2 comments
Closed

labelClicked这个功能不想触发它,怎么破? #19

heroking opened this issue Jan 31, 2019 · 2 comments

Comments

@heroking
Copy link

我这样用:
this.annotator.on('labelClicked', (id) => {
// 输出用户点击的label的ID
console.log(id);
});
仅仅是答应一个日志,但是为什么在鼠标左键点击标签时,还是会触犯连接标签的箭头呢?
我想要的是:用户点击标签时也不要触发连接功能,也就是完全禁止用户操作。怎么做才能达到这个要求!

@lvjunxiang
Copy link

可以教我一下怎么用这个工具吗?我按照开发文档,在js中导入,然后就报错了(qq:1216498454)

@longfangsong
Copy link
Collaborator

在v2版本中将会有选项来控制这个功能是否启用
见#31和v2分支

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

No branches or pull requests

3 participants