Skip to main content

event_prevent_default

Function event_prevent_default 

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

Event.prototype.preventDefault()。cancelable: true かつ非パッシブリスナー中のみ有効。