How to find whether an element is having an event or not

Discuss building things with or for the Mozilla Platform.
Locked
yureshwar
Posts: 1
Joined: August 7th, 2019, 10:49 pm

How to find whether an element is having an event or not

Post by yureshwar »

I am trying to find whether the dom node has an event registered or not. How do i find whether an element is having an event or not via javascript code. In developer tools it shows an event exists for an element how can we find similar to that.
Locked