We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ea4e0d commit 3b48b12Copy full SHA for 3b48b12
docs/dom-testing-library/api-events.mdx
@@ -41,13 +41,6 @@ Convenience methods for firing DOM events. Check out
41
[src/event-map.js](https://github.com/testing-library/dom-testing-library/blob/master/src/event-map.js)
42
for a full list as well as default `eventProperties`.
43
44
-```javascript
45
-// <button>Submit</button>
46
-const rightClick = { button: 2 }
47
-fireEvent.click(getByText('Submit'), rightClick)
48
-// default `button` property for click events is set to `0` which is a left click.
49
-```
50
-
51
**target**: When an event is dispatched on an element, the event has the
52
subjected element on a property called `target`. As a convenience, if you
53
provide a `target` property in the `eventProperties` (second argument), then
0 commit comments