-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[zh-cn]: update the translation of
DocumentFragment()
constructor (#…
- Loading branch information
1 parent
21e4d5c
commit b68e4d0
Showing
1 changed file
with
14 additions
and
14 deletions.
There are no files selected for viewing
28 changes: 14 additions & 14 deletions
28
files/zh-cn/web/api/documentfragment/documentfragment/index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,32 @@ | ||
--- | ||
title: DocumentFragment() | ||
title: DocumentFragment:DocumentFragment() 构造函数 | ||
slug: Web/API/DocumentFragment/DocumentFragment | ||
l10n: | ||
sourceCommit: 41a8b9c9832359d445d136b6d7a8a28737badc6b | ||
--- | ||
|
||
{{ApiRef("DOM")}}{{seeCompatTable}} | ||
{{ApiRef("DOM")}} | ||
|
||
**`DocumentFragment()`** 构造函数返回一个新创建的 {{domxref("DocumentFragment")}} 对象。 | ||
**`DocumentFragment()`** 构造函数返回新的空 {{domxref("DocumentFragment")}} 对象。 | ||
|
||
## 语法 | ||
|
||
```plain | ||
fragment = new DocumentFragment() | ||
```js-nolint | ||
new DocumentFragment() | ||
``` | ||
|
||
## 示例 | ||
### 参数 | ||
|
||
```js | ||
fragment = new DocumentFragment(); | ||
``` | ||
无。 | ||
|
||
### 返回值 | ||
|
||
新的 {{domxref("DocumentFragment")}} 对象。 | ||
|
||
## 标准 | ||
## 规范 | ||
|
||
{{Specifications}} | ||
|
||
## 浏览器兼容性 | ||
|
||
{{Compat}} | ||
|
||
## 参见 | ||
|
||
- [DOM 接口索引](/zh-CN/docs/DOM/DOM_Reference) |