You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api/wrapper/README.md
+5-6
Original file line number
Diff line number
Diff line change
@@ -10,20 +10,19 @@ A `Wrapper` is an object that contains a mounted component or vnode and methods
10
10
11
11
`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
12
12
13
-
### `element`:
13
+
### `element`
14
14
15
15
`HTMLElement`: the root DOM node of the wrapper
16
16
17
-
### `options`:
18
-
`Object`: Object containing Vue Test Utils options passed to `mount` or `shallowMount`
17
+
### `options`
19
18
20
-
#### `options.attachedToDocument`:
19
+
#### `options.attachedToDocument`
21
20
22
-
`Boolean`: True if `attachedToDocument`was passed to `mount` or `shallowMount`
21
+
`Boolean`: True if `attachedToDocument`in mounting options was true
23
22
24
23
#### `options.sync`
25
24
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`
0 commit comments