You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
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,
});
}`
The text was updated successfully, but these errors were encountered: