Skip to content

Commit

Permalink
Prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
charpeni committed Mar 20, 2019
1 parent 0dc3729 commit 57aa17f
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 27 deletions.
38 changes: 19 additions & 19 deletions docs/accessibilityinfo.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,16 +71,16 @@ class AccessibilityStatusExample extends React.Component {

### Methods

- [`isBoldTextEnabled`](accessibilityinfo.md#isBoldTextEnabled)
- [`isGrayscaleEnabled`](accessibilityinfo.md#isGrayscaleEnabled)
- [`isInvertColorsEnabled`](accessibilityinfo.md#isInvertColorsEnabled)
- [`isReduceMotionEnabled`](accessibilityinfo.md#isReduceMotionEnabled)
- [`isReduceTransparencyEnabled`](accessibilityinfo.md#isReduceTransparencyEnabled)
- [`isScreenReaderEnabled`](accessibilityinfo.md#isScreenReaderEnabled)
- [`addEventListener`](accessibilityinfo.md#addeventlistener)
- [`setAccessibilityFocus`](accessibilityinfo.md#setaccessibilityfocus)
- [`announceForAccessibility`](accessibilityinfo.md#announceforaccessibility)
- [`removeEventListener`](accessibilityinfo.md#removeeventlistener)
* [`isBoldTextEnabled`](accessibilityinfo.md#isBoldTextEnabled)
* [`isGrayscaleEnabled`](accessibilityinfo.md#isGrayscaleEnabled)
* [`isInvertColorsEnabled`](accessibilityinfo.md#isInvertColorsEnabled)
* [`isReduceMotionEnabled`](accessibilityinfo.md#isReduceMotionEnabled)
* [`isReduceTransparencyEnabled`](accessibilityinfo.md#isReduceTransparencyEnabled)
* [`isScreenReaderEnabled`](accessibilityinfo.md#isScreenReaderEnabled)
* [`addEventListener`](accessibilityinfo.md#addeventlistener)
* [`setAccessibilityFocus`](accessibilityinfo.md#setaccessibilityfocus)
* [`announceForAccessibility`](accessibilityinfo.md#announceforaccessibility)
* [`removeEventListener`](accessibilityinfo.md#removeeventlistener)

---

Expand Down Expand Up @@ -146,15 +146,15 @@ static addEventListener(eventName, handler)

Add an event handler. Supported events:

- `boldTextChanged`: iOS-only event. Fires when the state of the bold text toggle changes. The argument to the event handler is a boolean. The boolean is `true` when bold text is enabled and `false` otherwise.
- `grayscaleChanged`: iOS-only event. Fires when the state of the gray scale toggle changes. The argument to the event handler is a boolean. The boolean is `true` when a gray scale is enabled and `false` otherwise.
- `invertColorsChanged`: iOS-only event. Fires when the state of the invert colors toggle changes. The argument to the event handler is a boolean. The boolean is `true` when invert colors is enabled and `false` otherwise.
- `reduceMotionChanged`: Fires when the state of the reduce motion toggle changes. The argument to the event handler is a boolean. The boolean is `true` when a reduce motion is enabled (or when "Transition Animation Scale" in "Developer options" is "Animation off") and `false` otherwise.
- `screenReaderChanged`: Fires when the state of the screen reader changes. The argument to the event handler is a boolean. The boolean is `true` when a screen reader is enabled and `false` otherwise.
- `reduceTransparencyChanged`: iOS-only event. Fires when the state of the reduce transparency toggle changes. The argument to the event handler is a boolean. The boolean is `true` when reduce transparency is enabled and `false` otherwise.
- `announcementFinished`: iOS-only event. Fires when the screen reader has finished making an announcement. The argument to the event handler is a dictionary with these keys:
- `announcement`: The string announced by the screen reader.
- `success`: A boolean indicating whether the announcement was successfully made.
* `boldTextChanged`: iOS-only event. Fires when the state of the bold text toggle changes. The argument to the event handler is a boolean. The boolean is `true` when bold text is enabled and `false` otherwise.
* `grayscaleChanged`: iOS-only event. Fires when the state of the gray scale toggle changes. The argument to the event handler is a boolean. The boolean is `true` when a gray scale is enabled and `false` otherwise.
* `invertColorsChanged`: iOS-only event. Fires when the state of the invert colors toggle changes. The argument to the event handler is a boolean. The boolean is `true` when invert colors is enabled and `false` otherwise.
* `reduceMotionChanged`: Fires when the state of the reduce motion toggle changes. The argument to the event handler is a boolean. The boolean is `true` when a reduce motion is enabled (or when "Transition Animation Scale" in "Developer options" is "Animation off") and `false` otherwise.
* `screenReaderChanged`: Fires when the state of the screen reader changes. The argument to the event handler is a boolean. The boolean is `true` when a screen reader is enabled and `false` otherwise.
* `reduceTransparencyChanged`: iOS-only event. Fires when the state of the reduce transparency toggle changes. The argument to the event handler is a boolean. The boolean is `true` when reduce transparency is enabled and `false` otherwise.
* `announcementFinished`: iOS-only event. Fires when the screen reader has finished making an announcement. The argument to the event handler is a dictionary with these keys:
* `announcement`: The string announced by the screen reader.
* `success`: A boolean indicating whether the announcement was successfully made.

---

Expand Down
14 changes: 7 additions & 7 deletions docs/linking.md
Original file line number Diff line number Diff line change
Expand Up @@ -120,13 +120,13 @@ Linking.canOpenURL(url)

### Methods

- [`constructor`](linking.md#constructor)
- [`addEventListener`](linking.md#addeventlistener)
- [`removeEventListener`](linking.md#removeeventlistener)
- [`openURL`](linking.md#openurl)
- [`canOpenURL`](linking.md#canopenurl)
- [`openSettings`](linking.md#opensettings)
- [`getInitialURL`](linking.md#getinitialurl)
* [`constructor`](linking.md#constructor)
* [`addEventListener`](linking.md#addeventlistener)
* [`removeEventListener`](linking.md#removeeventlistener)
* [`openURL`](linking.md#openurl)
* [`canOpenURL`](linking.md#canopenurl)
* [`openSettings`](linking.md#opensettings)
* [`getInitialURL`](linking.md#getinitialurl)

---

Expand Down
2 changes: 1 addition & 1 deletion docs/pushnotificationios.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ And then in your AppDelegate implementation add the following:
// Define UNUserNotificationCenter
UNUserNotificationCenter *center = [UNUserNotificationCenter currentNotificationCenter];
center.delegate = self;
return YES;
}
Expand Down

0 comments on commit 57aa17f

Please sign in to comment.