Skip to content

Commit

Permalink
docs: apply suggestions from self-review.
Browse files Browse the repository at this point in the history
  • Loading branch information
asafkorem authored Apr 29, 2024
1 parent fd9de50 commit 5536c07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion detox/detox.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1295,7 +1295,7 @@ declare global {

/**
* Simulate long press on an element
* @param duration custom press duration time, in milliseconds. Optional (default is 1000ms).
* @param duration custom press duration time, in milliseconds. Optional (defaults to the standard long-press duration for the platform).
* @param point coordinates in the element's coordinate space. Optional (default is the center of the element).
* @example await element(by.id('tappable')).longPress();
* @example await element(by.id('tappable')).longPress(2000);
Expand Down
2 changes: 1 addition & 1 deletion docs/api/actions.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ await element(by.id('tappable')).multiTap(3);

Simulates a long press on the element at its activation point or at the specified point.

`duration` — press during time, in milliseconds. Optional (default is 1000 ms).
`duration` — press during time, in milliseconds. Optional (defaults to the standard long-press duration for the platform).
`point` — a point in the element’s coordinate space (optional, object with `x` and `y` numerical values, default is `null`).

```js
Expand Down

0 comments on commit 5536c07

Please sign in to comment.