Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add prefersCrossFadeTransitions to AccessibilityInfo docs #3279

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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