event.namespaceThe event.namespace property in jQuery specified when the event was triggered.
event.namespace property ExampleGet the namespace when the event was triggered.
$("button").click(function( event ) {
$('span').trigger('myevent.namespace');
});
$('span').on('myevent.namespace',function( event ) {
console.log( event.namespace );
});
