jQuery event.isPropagationStopped() Yöntemi

❮ jQuery Olay Yöntemleri

Örnek

event.stopPropagation() öğesinin çağrıldığını kontrol edin:

$("div").click(function(event){
  event.stopPropagation();
  alert(event.isPropagationStopped());
});

Tanım ve Kullanım

event.isPropagationStopped() yöntemi , olay için event.stopPropagation() öğesinin çağrılıp çağrılmadığını kontrol eder.

Bu yöntem, event.stopPropagation() çağrılırsa true, çağrılmazsa false döndürür.


Sözdizimi

event.isPropagationStopped()

Parameter Description
event Required. The event parameter comes from the event binding function

❮ jQuery Olay Yöntemleri