Skip to content

Commit

Permalink
feat: Add prefersCrossFadeTransitions to AccessibilityInfo docs
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrieldonadel committed Aug 25, 2022
1 parent 133f5fa commit 5609b44
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion docs/accessibilityinfo.md
Original file line number Diff line number Diff line change
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 5609b44

Please sign in to comment.