Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: skyclouds2001 <[email protected]>
  • Loading branch information
tianyeeT and skyclouds2001 authored Sep 10, 2024
1 parent c01b3f8 commit ead15c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions files/zh-cn/web/api/event/returnvalue/index.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
title: Event.returnValue
title: EventreturnValue 属性
slug: Web/API/Event/returnValue
l10n:
sourceCommit: d8f04d843dd81ab8cea1cfc0577ae3c5c9b77d5c
---

{{APIRef("DOM")}}{{Deprecated_Header}}

**`Event.returnValue`** 属性表示该事件的默认操作是否已被阻止。
{{domxref("Event")}} 接口的 **`returnValue`** 属性表示该事件的默认操作是否已被阻止。

默认情况下,它被设置为 `true`,即允许进行默认操作。将该属性设置为 `false` 即可阻止默认操作。

Expand Down

0 comments on commit ead15c7

Please sign in to comment.