Closed GoogleCodeExporter closed 8 years ago
one thought i had was that we could possibly support a 'filter' - pass the
original mouse event to this filter and if it returns false then we take no
action.
Original comment by simon.po...@gmail.com
on 21 Jun 2012 at 12:06
..and so i added the filter idea:
<div id="foo">
FOO
<button>click me</button>
</div>
jsPlumb.makeSource("foo", {
filter:function(event, element) {
return event.target.tagName !== "BUTTON";
}
});
Original comment by simon.po...@gmail.com
on 21 Jun 2012 at 9:57
Original comment by simon.po...@gmail.com
on 21 Jun 2012 at 10:11
Original issue reported on code.google.com by
simon.po...@gmail.com
on 7 Jun 2012 at 11:09