jQuery event.isImmediatePropagationStopped() Yöntemi
Örnek
event.stopImmediatePropagation() öğesinin çağrıldığını kontrol edin:
$("div").click(function(event){
event.stopImmediatePropagation();
alert(event.isImmediatePropagationStopped());
});
Tanım ve Kullanım
Bu yöntem , olay için event.stopImmediatePropagation() öğesinin çağrılıp çağrılmadığını kontrol eder .
Bu yöntem, event.stopImmediatePropagation() çağrılırsa true, çağrılmazsa false döndürür.
Sözdizimi
event.isImmediatePropagationStopped()
Parameter | Description |
---|---|
event | Required. The event parameter comes from the event binding function |