Skip to content

Commit

Permalink
[TVOS] Add new properties for tvParallaxProperties (#176)
Browse files Browse the repository at this point in the history
* [TVOS] Add new properties for tvParallaxProperties

* [TVOS] Add properties for tvParallaxProperties
  • Loading branch information
JulienKode authored and charpeni committed Feb 28, 2018
1 parent f141fc0 commit df5a21f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/touchablehighlight.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ _(Apple TV only)_ TV preferred focus (see documentation for the View component).

_(Apple TV only)_ Object with properties to control Apple TV parallax effects.

enabled: If true, parallax effects are enabled. Defaults to true. shiftDistanceX: Defaults to 2.0. shiftDistanceY: Defaults to 2.0. tiltAngle: Defaults to 0.05. magnification: Defaults to 1.0.
enabled: If true, parallax effects are enabled. Defaults to true. shiftDistanceX: Defaults to 2.0. shiftDistanceY: Defaults to 2.0. tiltAngle: Defaults to 0.05. magnification: Defaults to 1.0. pressMagnification: Defaults to 1.0. pressDuration: Defaults to 0.3. pressDelay: Defaults to 0.0.

| Type | Required | Platform |
| ------ | -------- | -------- |
Expand Down
10 changes: 6 additions & 4 deletions docs/touchableopacity.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,13 @@ Determines what the opacity of the wrapped view should be when touch is active.

### `tvParallaxProperties`

Apple TV parallax effects
_(Apple TV only)_ Object with properties to control Apple TV parallax effects.

| Type | Required |
| ------ | -------- |
| object | No |
enabled: If true, parallax effects are enabled. Defaults to true. shiftDistanceX: Defaults to 2.0. shiftDistanceY: Defaults to 2.0. tiltAngle: Defaults to 0.05. magnification: Defaults to 1.0. pressMagnification: Defaults to 1.0. pressDuration: Defaults to 0.3. pressDelay: Defaults to 0.0.

| Type | Required | Platform |
| ------ | -------- | -------- |
| object | No | iOS |

---

Expand Down

0 comments on commit df5a21f

Please sign in to comment.