Skip to main content

event_target_stop_propagation

Function event_target_stop_propagation 

Source
pub(crate) fn event_target_stop_propagation(
    _it: &mut Interp,
    this: Value,
    _a: &[Value],
) -> Result<Value, Value>
Expand description

event.stopPropagation()EventTarget 経路用)。DOM ツリーが無いため 伝播そのものを止める効果は無い(dom_noop と同じ no-op)が、レガシー event.cancelBubble が丸ごと未対応で追従していなかったバグの修正として フラグだけは立てる。