Skip to content

Commit 497c240

Browse files
38elementseddyerburgh
authored andcommitted
docs: update dom-events.md (#192)
1 parent 12de854 commit 497c240

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/en/guides/dom-events.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const wrapper = mount(MyButton)
1010
wrapper.trigger('click')
1111
```
1212

13-
You should be aware, that find returns a wrapper as well. Assuming `MyComponent` contains a button, the following code clicks the button.
13+
You should be aware that the `find` method returns a `Wrapper` as well. Assuming `MyComponent` contains a button, the following code clicks the button.
1414

1515
```js
1616
const wrapper = mount(MyComponent)
@@ -20,7 +20,7 @@ wrapper.find('button').trigger('click')
2020

2121
## Options
2222

23-
The trigger method takes an optional `options` object. The properties in the `options` object are added to the Event.
23+
The `trigger` method takes an optional `options` object. The properties in the `options` object are added to the Event.
2424

2525
You can run `preventDefault` on the event by passing `preventDefault: true` in `options`.
2626

0 commit comments

Comments
 (0)