event.returnValue


稳定性: 3 - 旧版:改用 event.defaultPrevented

¥Stability: 3 - Legacy: Use event.defaultPrevented instead.

  • 类型:<boolean> 如果事件尚未取消,则为真。

    ¥Type: <boolean> True if the event has not been canceled.

event.returnValue 的值总是与 event.defaultPrevented 相反。这在 Node.js 中没有使用,纯粹是为了完整性而提供的。

¥The value of event.returnValue is always the opposite of event.defaultPrevented. This is not used in Node.js and is provided purely for completeness.