ngFlowchart icon indicating copy to clipboard operation
ngFlowchart copied to clipboard

Edge-click event

Open nardocesar opened this issue 8 years ago • 1 comments

Can I use an "edge click" event? How can I do this?

nardocesar avatar Oct 02 '17 15:10 nardocesar

Just fix my problem with this trick:

$timeout(function(){
                    var edgeSelect = document.querySelectorAll('.fc-edge')
                    for (var i = 0; i < edgeSelect.length; i++) {
                      edgeSelect[i].addEventListener('click', function () {
                        console.log('Edge clicked.')
                      })
                    }
                    console.log('Listener function loaded.)
                  },100)

nardocesar avatar Oct 04 '17 17:10 nardocesar