Skip to content

docs: mounting options is attachToDocument #1171

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 8, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/api/wrapper/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ A `Wrapper` is an object that contains a mounted component or vnode and methods

#### `options.attachedToDocument`

`Boolean` (read-only): True if `attachedToDocument` in mounting options was `true`
`Boolean` (read-only): True if `attachToDocument` in mounting options was `true`

#### `options.sync`

Expand Down
2 changes: 1 addition & 1 deletion docs/ja/api/wrapper/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ vue-test-utils はラッパベースの API です。

#### `options.attachedToDocument`

`Boolean` (読み込み専用): マウンティングオプションで `attachedToDocument` が `true` だった場合は True です。
`Boolean` (読み込み専用): マウンティングオプションで `attachToDocument` が `true` だった場合は True です。

#### `options.sync`

Expand Down
2 changes: 1 addition & 1 deletion docs/ru/api/wrapper/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Vue Test Utils — это API основанное на использовани

#### `options.attachedToDocument`

`Boolean` (только для чтения): True, если `attachedToDocument` в опциях монтирования было `true`
`Boolean` (только для чтения): True, если `attachToDocument` в опциях монтирования было `true`

#### `options.sync`

Expand Down
4 changes: 2 additions & 2 deletions docs/zh/api/wrapper/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ Vue Test Utils 是一个基于包裹器的 API。

### `options`

#### `options.attachedToDom`
#### `options.attachedToDocument`

`Boolean` (只读):如果 `attachToDom` 传递给了 `mount` 或 `shallowMount` 则为真
`Boolean` (只读):如果 `attachToDocument` 传递给了 `mount` 或 `shallowMount` 则为真

#### `options.sync`

Expand Down