Skip to content

Commit

Permalink
AccessibilityInfo: add prefersCrossFadeTransitions to docs (facebook#…
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrieldonadel committed Sep 6, 2022
1 parent 010d7cd commit 51a7543
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion docs/accessibilityinfo.md
Expand Up @@ -210,7 +210,7 @@ Post a string to be announced by the screen reader with modification options. By
static getRecommendedTimeoutMillis(originalTimeout)
```

Gets the timeout in millisecond that the user needs.
Gets the timeout in millisecond that the user needs.
This value is set in "Time to take action (Accessibility timeout)" of "Accessibility" settings.

**Parameters:**
Expand Down Expand Up @@ -293,6 +293,16 @@ Query whether a screen reader is currently enabled. Returns a promise which reso

---

### `prefersCrossFadeTransitions()` <div class="label ios">iOS</div>

```jsx
static prefersCrossFadeTransitions()
```

Query whether reduce motion and prefer cross-fade transitions settings are currently enabled. Returns a promise which resolves to a boolean. The result is `true` when prefer cross-fade transitions is enabled and `false` otherwise.

---

### `removeEventListener()`

```jsx
Expand Down

0 comments on commit 51a7543

Please sign in to comment.