I'm doing this to listen for pause
event in Cordova:
$(document).on('pause', function( e ) { ... });
and now I need to check whether the pause
event is attached to $(document)
.
I have tried to do: $._data($(document), 'events')
and $.data($(document), 'events')
but they always return undefined
.
Any solution?