Skip to content

Commit 60f3bf4

Browse files
38elementseddyerburgh
authored andcommitted
docs: tweaks (#642)
1 parent ff155b1 commit 60f3bf4

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

docs/api/options.md

-2
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,6 @@ Pass properties for components to use in injection. See [provide/inject](https:/
197197
- type: `boolean`
198198
- default: `true`
199199

200-
Sets all watchers to run synchronously.
201-
202200
When `sync` is `true`, the Vue component is rendered synchronously.
203201
When `sync` is `false`, the Vue component is rendered asynchronously.
204202

docs/api/wrapper/README.md

+5-6
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,19 @@ A `Wrapper` is an object that contains a mounted component or vnode and methods
1010

1111
`Component`: This is the `Vue` instance. You can access all the [instance methods and properties of a vm](https://vuejs.org/v2/api/#Instance-Properties) with `wrapper.vm`. This only exists on Vue component wrappers
1212

13-
### `element`:
13+
### `element`
1414

1515
`HTMLElement`: the root DOM node of the wrapper
1616

17-
### `options`:
18-
`Object`: Object containing Vue Test Utils options passed to `mount` or `shallowMount`
17+
### `options`
1918

20-
#### `options.attachedToDocument`:
19+
#### `options.attachedToDocument`
2120

22-
`Boolean`: True if `attachedToDocument` was passed to `mount` or `shallowMount`
21+
`Boolean`: True if `attachedToDocument` in mounting options was true 
2322

2423
#### `options.sync`
2524

26-
`Boolean`: True if `sync` was not passed as `false` to `mount` or `shallowMount`
25+
`Boolean`: True if `sync` in mounting options was not `false`
2726

2827
## Methods
2928

0 commit comments

Comments
 (0)