How to prevent element trigger pointer move event? #3036
-
IntroductionHi joint js team~ This is my design: E.g. I want to move the element by drag textGroup area, but for other area, i want to disable drag event(which is pointer move event on paper). Steps to reproduceNo response Restrictions & ConstraintsNo response Does your question relate to JointJS or JointJS+. Select both if applicable.JointJS+ |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
You can call |
Beta Was this translation helpful? Give feedback.
You can call
elementView.preventDefaultInteraction(evt)if you want to prevent the element from moving. See https://docs.jointjs.com/api/dia/CellView/#preventdefaultinteraction