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

Hover and Click edge events together #65

Open
arpitahuddar opened this issue Aug 15, 2018 · 0 comments
Open

Hover and Click edge events together #65

arpitahuddar opened this issue Aug 15, 2018 · 0 comments

Comments

@arpitahuddar
Copy link

I am trying to use both hover and click events for edge. But i am not able to do so.
Both of them work separately when i use just one of the two.
Are onClickEdge and onOverEdge exclusive? one cannot be used with other?

` onClickEdge = (e) => {
console.log("edge clicked")
this.setState({
showSomePopup : true,
});
}

onOverEdge = (e) => {
this.setState({
show : true,
edgeDetail : e.data.edge,
});
}
onOutEdge = (e) => {
// console.log("i am outisde edge now", e.data.edge.id)
this.setState({
show : false,
});
}`

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

1 participant