listenerCount
Returns the number of listeners listening to the event named eventName.
Return
The number of listeners listening to the event named eventName.
Parameters
eventName
The name of the event.
Returns the number of listeners listening to the event named eventName.
The number of listeners listening to the event named eventName.
The name of the event.