From d7017bb41b7f549f44a1d5f6c9ea48fd40ce3581 Mon Sep 17 00:00:00 2001 From: 38elements <38elements@users.noreply.github.com> Date: Wed, 23 May 2018 21:38:31 +0900 Subject: [PATCH 1/2] Update options.md --- docs/api/options.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/api/options.md b/docs/api/options.md index 4191f86b5..2643b6a4a 100644 --- a/docs/api/options.md +++ b/docs/api/options.md @@ -197,8 +197,6 @@ Pass properties for components to use in injection. See [provide/inject](https:/ - type: `boolean` - default: `true` -Sets all watchers to run synchronously. - When `sync` is `true`, the Vue component is rendered synchronously. When `sync` is `false`, the Vue component is rendered asynchronously. From 2f1eef29f5f280a8c6ba231fe5968293eb2fbf03 Mon Sep 17 00:00:00 2001 From: 38elements <38elements@users.noreply.github.com> Date: Wed, 23 May 2018 21:51:11 +0900 Subject: [PATCH 2/2] Update README.md --- docs/api/wrapper/README.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/docs/api/wrapper/README.md b/docs/api/wrapper/README.md index 4e1269173..c9d024f9f 100644 --- a/docs/api/wrapper/README.md +++ b/docs/api/wrapper/README.md @@ -10,20 +10,19 @@ A `Wrapper` is an object that contains a mounted component or vnode and methods `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 -### `element`: +### `element` `HTMLElement`: the root DOM node of the wrapper -### `options`: -`Object`: Object containing Vue Test Utils options passed to `mount` or `shallowMount` +### `options` -#### `options.attachedToDocument`: +#### `options.attachedToDocument` -`Boolean`: True if `attachedToDocument` was passed to `mount` or `shallowMount` +`Boolean`: True if `attachedToDocument` in mounting options was true  #### `options.sync` -`Boolean`: True if `sync` was not passed as `false` to `mount` or `shallowMount` +`Boolean`: True if `sync` in mounting options was not `false` ## Methods