visjs / angular-visjs

AngularJS directive module for vis.js components
http://visjs.github.io/angular-visjs
MIT License
133 stars 64 forks source link

Events hoverEdge and blurEdge are not firing using the angularjs directive #75

Open dimaxweb opened 7 years ago

dimaxweb commented 7 years ago

Events which are present in VIS : hoverEdge and blurEdge are missing in anular-visjs directive list and ignored . Example from source code var networkEvents = [ 'click', 'doubleClick', 'oncontext', 'hold', 'release', 'selectNode', 'selectEdge', 'deselectNode', 'deselectEdge', 'dragStart', 'dragging', 'dragEnd', 'hoverNode', 'hoverEdge', 'blurEdge', 'blurNode', 'zoom', 'showPopup', 'hidePopup', 'startStabilizing', 'stabilizationProgress', 'stabilizationIterationsDone', 'stabilized', 'resize', 'initRedraw', 'beforeDrawing', 'afterDrawing', 'animationFinished'

            ];

Adding them to list fixing the problem

cdjackson commented 7 years ago

Please provide a PR with your changes.