diff --git a/docs/0.26/panresponder.html b/docs/0.26/panresponder.html index 3e44c10d5e6..89c46a5c3d3 100644 --- a/docs/0.26/panresponder.html +++ b/docs/0.26/panresponder.html @@ -1,4 +1,4 @@ -PanResponder · React Native
Edit

PanResponder

PanResponder reconciles several touches into a single gesture. It makes single-touch gestures resilient to extra touches, and can be used to recognize simple multi-touch gestures.

+
Edit

PanResponder

PanResponder reconciles several touches into a single gesture. It makes single-touch gestures resilient to extra touches, and can be used to recognize basic multi-touch gestures.

By default, PanResponder holds an `InteractionManager handle to block long-running JS events from interrupting active gestures.

It provides a predictable wrapper of the responder handlers provided by the gesture responder system. For each handler, it provides a new gestureState object alongside the native event object:

onPanResponderMove: (event, gestureState) => {}
@@ -157,7 +157,7 @@
 

create()

static create(config)
 
-

@param {object} config Enhanced versions of all of the responder callbacks that provide not only the typical ResponderSyntheticEvent, but also the PanResponder gesture state. Simply replace the word Responder with PanResponder in each of the typical onResponder* callbacks. For example, the config object would look like:

+

@param {object} config Enhanced versions of all of the responder callbacks that provide not only the typical ResponderSyntheticEvent, but also the PanResponder gesture state. You only need to replace the word Responder with PanResponder in each of the typical onResponder* callbacks. For example, the config object would look like:

  • onMoveShouldSetPanResponder: (e, gestureState) => {...}
  • onMoveShouldSetPanResponderCapture: (e, gestureState) => {...}
  • diff --git a/docs/0.26/panresponder/index.html b/docs/0.26/panresponder/index.html index 3e44c10d5e6..89c46a5c3d3 100644 --- a/docs/0.26/panresponder/index.html +++ b/docs/0.26/panresponder/index.html @@ -1,4 +1,4 @@ -PanResponder · React Native
Edit

PanResponder

PanResponder reconciles several touches into a single gesture. It makes single-touch gestures resilient to extra touches, and can be used to recognize simple multi-touch gestures.

+
Edit

PanResponder

PanResponder reconciles several touches into a single gesture. It makes single-touch gestures resilient to extra touches, and can be used to recognize basic multi-touch gestures.

By default, PanResponder holds an `InteractionManager handle to block long-running JS events from interrupting active gestures.

It provides a predictable wrapper of the responder handlers provided by the gesture responder system. For each handler, it provides a new gestureState object alongside the native event object:

onPanResponderMove: (event, gestureState) => {}
@@ -157,7 +157,7 @@
 

create()

static create(config)
 
-

@param {object} config Enhanced versions of all of the responder callbacks that provide not only the typical ResponderSyntheticEvent, but also the PanResponder gesture state. Simply replace the word Responder with PanResponder in each of the typical onResponder* callbacks. For example, the config object would look like:

+

@param {object} config Enhanced versions of all of the responder callbacks that provide not only the typical ResponderSyntheticEvent, but also the PanResponder gesture state. You only need to replace the word Responder with PanResponder in each of the typical onResponder* callbacks. For example, the config object would look like:

  • onMoveShouldSetPanResponder: (e, gestureState) => {...}
  • onMoveShouldSetPanResponderCapture: (e, gestureState) => {...}
  • diff --git a/docs/0.26/scrollview.html b/docs/0.26/scrollview.html index f37ed0e5f4f..8e5dd29d496 100644 --- a/docs/0.26/scrollview.html +++ b/docs/0.26/scrollview.html @@ -69,7 +69,7 @@ } });
Edit

ScrollView

Component that wraps platform ScrollView while providing integration with touch locking "responder" system.

-

Keep in mind that ScrollViews must have a bounded height in order to work, since they contain unbounded-height children into a bounded container (via a scroll interaction). In order to bound the height of a ScrollView, either set the height of the view directly (discouraged) or make sure all parent views have bounded height. Forgetting to transfer {flex: 1} down the view stack can lead to errors here, which the element inspector makes easy to debug.

+

Keep in mind that ScrollViews must have a bounded height in order to work, since they contain unbounded-height children into a bounded container (via a scroll interaction). In order to bound the height of a ScrollView, either set the height of the view directly (discouraged) or make sure all parent views have bounded height. Forgetting to transfer {flex: 1} down the view stack can lead to errors here, which the element inspector makes quick to debug.

Doesn't yet support other contained responders from blocking this scroll view from becoming the responder.

Props

    @@ -428,6 +428,7 @@

    indicatorStyle

    The style of the scroll indicators.

    +
    • default (the default), same as black.
    • black, scroll indicator is black. This style is good against a white content background.
    • @@ -441,6 +442,7 @@ enum('default', 'black', 'white')NoiOS +

      maximumZoomScale

      The maximum allowed zoom scale. The default value is 1.0.

      diff --git a/docs/0.26/scrollview/index.html b/docs/0.26/scrollview/index.html index f37ed0e5f4f..8e5dd29d496 100644 --- a/docs/0.26/scrollview/index.html +++ b/docs/0.26/scrollview/index.html @@ -69,7 +69,7 @@ } });
Edit

ScrollView

Component that wraps platform ScrollView while providing integration with touch locking "responder" system.

-

Keep in mind that ScrollViews must have a bounded height in order to work, since they contain unbounded-height children into a bounded container (via a scroll interaction). In order to bound the height of a ScrollView, either set the height of the view directly (discouraged) or make sure all parent views have bounded height. Forgetting to transfer {flex: 1} down the view stack can lead to errors here, which the element inspector makes easy to debug.

+

Keep in mind that ScrollViews must have a bounded height in order to work, since they contain unbounded-height children into a bounded container (via a scroll interaction). In order to bound the height of a ScrollView, either set the height of the view directly (discouraged) or make sure all parent views have bounded height. Forgetting to transfer {flex: 1} down the view stack can lead to errors here, which the element inspector makes quick to debug.

Doesn't yet support other contained responders from blocking this scroll view from becoming the responder.

Props

    @@ -428,6 +428,7 @@

    indicatorStyle

    The style of the scroll indicators.

    +
    • default (the default), same as black.
    • black, scroll indicator is black. This style is good against a white content background.
    • @@ -441,6 +442,7 @@ enum('default', 'black', 'white')NoiOS +

      maximumZoomScale

      The maximum allowed zoom scale. The default value is 1.0.

      diff --git a/docs/0.26/touchableopacity.html b/docs/0.26/touchableopacity.html index 4ce96a3ad6f..649b0926f05 100644 --- a/docs/0.26/touchableopacity.html +++ b/docs/0.26/touchableopacity.html @@ -1,4 +1,4 @@ -TouchableOpacity · React Native
Edit

TouchableOpacity

A wrapper for making views respond properly to touches. On press down, the opacity of the wrapped view is decreased, dimming it. This is done without actually changing the view hierarchy, and in general is easy to add to an app without weird side-effects.

+
Edit

TouchableOpacity

A wrapper for making views respond properly to touches. On press down, the opacity of the wrapped view is decreased, dimming it. This is done without actually changing the view hierarchy, and in general is quick to add to an app without weird side-effects.

Example:

renderButton: function() {
   return (
diff --git a/docs/0.26/touchableopacity/index.html b/docs/0.26/touchableopacity/index.html
index 4ce96a3ad6f..649b0926f05 100644
--- a/docs/0.26/touchableopacity/index.html
+++ b/docs/0.26/touchableopacity/index.html
@@ -1,4 +1,4 @@
-TouchableOpacity · React Native
Edit

TouchableOpacity

A wrapper for making views respond properly to touches. On press down, the opacity of the wrapped view is decreased, dimming it. This is done without actually changing the view hierarchy, and in general is easy to add to an app without weird side-effects.

+
Edit

TouchableOpacity

A wrapper for making views respond properly to touches. On press down, the opacity of the wrapped view is decreased, dimming it. This is done without actually changing the view hierarchy, and in general is quick to add to an app without weird side-effects.

Example:

renderButton: function() {
   return (
diff --git a/docs/0.27/panresponder.html b/docs/0.27/panresponder.html
index 915ad070d62..5c3b2bff22f 100644
--- a/docs/0.27/panresponder.html
+++ b/docs/0.27/panresponder.html
@@ -1,4 +1,4 @@
-PanResponder · React Native
Edit

PanResponder

PanResponder reconciles several touches into a single gesture. It makes single-touch gestures resilient to extra touches, and can be used to recognize simple multi-touch gestures.

+
Edit

PanResponder

PanResponder reconciles several touches into a single gesture. It makes single-touch gestures resilient to extra touches, and can be used to recognize basic multi-touch gestures.

By default, PanResponder holds an `InteractionManager handle to block long-running JS events from interrupting active gestures.

It provides a predictable wrapper of the responder handlers provided by the gesture responder system. For each handler, it provides a new gestureState object alongside the native event object:

onPanResponderMove: (event, gestureState) => {}
@@ -157,7 +157,7 @@
 

create()

static create(config)
 
-

@param {object} config Enhanced versions of all of the responder callbacks that provide not only the typical ResponderSyntheticEvent, but also the PanResponder gesture state. Simply replace the word Responder with PanResponder in each of the typical onResponder* callbacks. For example, the config object would look like:

+

@param {object} config Enhanced versions of all of the responder callbacks that provide not only the typical ResponderSyntheticEvent, but also the PanResponder gesture state. You only need to replace the word Responder with PanResponder in each of the typical onResponder* callbacks. For example, the config object would look like:

  • onMoveShouldSetPanResponder: (e, gestureState) => {...}
  • onMoveShouldSetPanResponderCapture: (e, gestureState) => {...}
  • diff --git a/docs/0.27/panresponder/index.html b/docs/0.27/panresponder/index.html index 915ad070d62..5c3b2bff22f 100644 --- a/docs/0.27/panresponder/index.html +++ b/docs/0.27/panresponder/index.html @@ -1,4 +1,4 @@ -PanResponder · React Native
Edit

PanResponder

PanResponder reconciles several touches into a single gesture. It makes single-touch gestures resilient to extra touches, and can be used to recognize simple multi-touch gestures.

+
Edit

PanResponder

PanResponder reconciles several touches into a single gesture. It makes single-touch gestures resilient to extra touches, and can be used to recognize basic multi-touch gestures.

By default, PanResponder holds an `InteractionManager handle to block long-running JS events from interrupting active gestures.

It provides a predictable wrapper of the responder handlers provided by the gesture responder system. For each handler, it provides a new gestureState object alongside the native event object:

onPanResponderMove: (event, gestureState) => {}
@@ -157,7 +157,7 @@
 

create()

static create(config)
 
-

@param {object} config Enhanced versions of all of the responder callbacks that provide not only the typical ResponderSyntheticEvent, but also the PanResponder gesture state. Simply replace the word Responder with PanResponder in each of the typical onResponder* callbacks. For example, the config object would look like:

+

@param {object} config Enhanced versions of all of the responder callbacks that provide not only the typical ResponderSyntheticEvent, but also the PanResponder gesture state. You only need to replace the word Responder with PanResponder in each of the typical onResponder* callbacks. For example, the config object would look like:

  • onMoveShouldSetPanResponder: (e, gestureState) => {...}
  • onMoveShouldSetPanResponderCapture: (e, gestureState) => {...}
  • diff --git a/docs/0.27/touchableopacity.html b/docs/0.27/touchableopacity.html index ca43b5fb019..3e9b5b11861 100644 --- a/docs/0.27/touchableopacity.html +++ b/docs/0.27/touchableopacity.html @@ -1,4 +1,4 @@ -TouchableOpacity · React Native
Edit

TouchableOpacity

A wrapper for making views respond properly to touches. On press down, the opacity of the wrapped view is decreased, dimming it. This is done without actually changing the view hierarchy, and in general is easy to add to an app without weird side-effects.

+
Edit

TouchableOpacity

A wrapper for making views respond properly to touches. On press down, the opacity of the wrapped view is decreased, dimming it. This is done without actually changing the view hierarchy, and in general is quick to add to an app without weird side-effects.

Example:

renderButton: function() {
   return (
diff --git a/docs/0.27/touchableopacity/index.html b/docs/0.27/touchableopacity/index.html
index ca43b5fb019..3e9b5b11861 100644
--- a/docs/0.27/touchableopacity/index.html
+++ b/docs/0.27/touchableopacity/index.html
@@ -1,4 +1,4 @@
-TouchableOpacity · React Native
Edit

TouchableOpacity

A wrapper for making views respond properly to touches. On press down, the opacity of the wrapped view is decreased, dimming it. This is done without actually changing the view hierarchy, and in general is easy to add to an app without weird side-effects.

+
Edit

TouchableOpacity

A wrapper for making views respond properly to touches. On press down, the opacity of the wrapped view is decreased, dimming it. This is done without actually changing the view hierarchy, and in general is quick to add to an app without weird side-effects.

Example:

renderButton: function() {
   return (
diff --git a/docs/0.28/panresponder.html b/docs/0.28/panresponder.html
index 731b431c369..0138ba3439d 100644
--- a/docs/0.28/panresponder.html
+++ b/docs/0.28/panresponder.html
@@ -1,4 +1,4 @@
-PanResponder · React Native
Edit

PanResponder

PanResponder reconciles several touches into a single gesture. It makes single-touch gestures resilient to extra touches, and can be used to recognize simple multi-touch gestures.

+
Edit

PanResponder

PanResponder reconciles several touches into a single gesture. It makes single-touch gestures resilient to extra touches, and can be used to recognize basic multi-touch gestures.

By default, PanResponder holds an `InteractionManager handle to block long-running JS events from interrupting active gestures.

It provides a predictable wrapper of the responder handlers provided by the gesture responder system. For each handler, it provides a new gestureState object alongside the native event object:

onPanResponderMove: (event, gestureState) => {}
@@ -157,7 +157,7 @@
 

create()

static create(config)
 
-

@param {object} config Enhanced versions of all of the responder callbacks that provide not only the typical ResponderSyntheticEvent, but also the PanResponder gesture state. Simply replace the word Responder with PanResponder in each of the typical onResponder* callbacks. For example, the config object would look like:

+

@param {object} config Enhanced versions of all of the responder callbacks that provide not only the typical ResponderSyntheticEvent, but also the PanResponder gesture state. You only need to replace the word Responder with PanResponder in each of the typical onResponder* callbacks. For example, the config object would look like:

  • onMoveShouldSetPanResponder: (e, gestureState) => {...}
  • onMoveShouldSetPanResponderCapture: (e, gestureState) => {...}
  • diff --git a/docs/0.28/panresponder/index.html b/docs/0.28/panresponder/index.html index 731b431c369..0138ba3439d 100644 --- a/docs/0.28/panresponder/index.html +++ b/docs/0.28/panresponder/index.html @@ -1,4 +1,4 @@ -PanResponder · React Native
Edit

PanResponder

PanResponder reconciles several touches into a single gesture. It makes single-touch gestures resilient to extra touches, and can be used to recognize simple multi-touch gestures.

+
Edit

PanResponder

PanResponder reconciles several touches into a single gesture. It makes single-touch gestures resilient to extra touches, and can be used to recognize basic multi-touch gestures.

By default, PanResponder holds an `InteractionManager handle to block long-running JS events from interrupting active gestures.

It provides a predictable wrapper of the responder handlers provided by the gesture responder system. For each handler, it provides a new gestureState object alongside the native event object:

onPanResponderMove: (event, gestureState) => {}
@@ -157,7 +157,7 @@
 

create()

static create(config)
 
-

@param {object} config Enhanced versions of all of the responder callbacks that provide not only the typical ResponderSyntheticEvent, but also the PanResponder gesture state. Simply replace the word Responder with PanResponder in each of the typical onResponder* callbacks. For example, the config object would look like:

+

@param {object} config Enhanced versions of all of the responder callbacks that provide not only the typical ResponderSyntheticEvent, but also the PanResponder gesture state. You only need to replace the word Responder with PanResponder in each of the typical onResponder* callbacks. For example, the config object would look like:

  • onMoveShouldSetPanResponder: (e, gestureState) => {...}
  • onMoveShouldSetPanResponderCapture: (e, gestureState) => {...}
  • diff --git a/docs/0.28/touchableopacity.html b/docs/0.28/touchableopacity.html index 2e1c33a8649..61db0c52af6 100644 --- a/docs/0.28/touchableopacity.html +++ b/docs/0.28/touchableopacity.html @@ -1,4 +1,4 @@ -TouchableOpacity · React Native
Edit

TouchableOpacity

A wrapper for making views respond properly to touches. On press down, the opacity of the wrapped view is decreased, dimming it. This is done without actually changing the view hierarchy, and in general is easy to add to an app without weird side-effects.

+
Edit

TouchableOpacity

A wrapper for making views respond properly to touches. On press down, the opacity of the wrapped view is decreased, dimming it. This is done without actually changing the view hierarchy, and in general is quick to add to an app without weird side-effects.

Example:

renderButton: function() {
   return (
diff --git a/docs/0.28/touchableopacity/index.html b/docs/0.28/touchableopacity/index.html
index 2e1c33a8649..61db0c52af6 100644
--- a/docs/0.28/touchableopacity/index.html
+++ b/docs/0.28/touchableopacity/index.html
@@ -1,4 +1,4 @@
-TouchableOpacity · React Native
Edit

TouchableOpacity

A wrapper for making views respond properly to touches. On press down, the opacity of the wrapped view is decreased, dimming it. This is done without actually changing the view hierarchy, and in general is easy to add to an app without weird side-effects.

+
Edit

TouchableOpacity

A wrapper for making views respond properly to touches. On press down, the opacity of the wrapped view is decreased, dimming it. This is done without actually changing the view hierarchy, and in general is quick to add to an app without weird side-effects.

Example:

renderButton: function() {
   return (
diff --git a/docs/0.29/panresponder.html b/docs/0.29/panresponder.html
index 411f697b41d..32d057f6f92 100644
--- a/docs/0.29/panresponder.html
+++ b/docs/0.29/panresponder.html
@@ -1,4 +1,4 @@
-PanResponder · React Native
Edit

PanResponder

PanResponder reconciles several touches into a single gesture. It makes single-touch gestures resilient to extra touches, and can be used to recognize simple multi-touch gestures.

+
Edit

PanResponder

PanResponder reconciles several touches into a single gesture. It makes single-touch gestures resilient to extra touches, and can be used to recognize basic multi-touch gestures.

By default, PanResponder holds an `InteractionManager handle to block long-running JS events from interrupting active gestures.

It provides a predictable wrapper of the responder handlers provided by the gesture responder system. For each handler, it provides a new gestureState object alongside the native event object:

onPanResponderMove: (event, gestureState) => {}
@@ -157,7 +157,7 @@
 

create()

static create(config)
 
-

@param {object} config Enhanced versions of all of the responder callbacks that provide not only the typical ResponderSyntheticEvent, but also the PanResponder gesture state. Simply replace the word Responder with PanResponder in each of the typical onResponder* callbacks. For example, the config object would look like:

+

@param {object} config Enhanced versions of all of the responder callbacks that provide not only the typical ResponderSyntheticEvent, but also the PanResponder gesture state. You only need to replace the word Responder with PanResponder in each of the typical onResponder* callbacks. For example, the config object would look like:

  • onMoveShouldSetPanResponder: (e, gestureState) => {...}
  • onMoveShouldSetPanResponderCapture: (e, gestureState) => {...}
  • diff --git a/docs/0.29/panresponder/index.html b/docs/0.29/panresponder/index.html index 411f697b41d..32d057f6f92 100644 --- a/docs/0.29/panresponder/index.html +++ b/docs/0.29/panresponder/index.html @@ -1,4 +1,4 @@ -PanResponder · React Native
Edit

PanResponder

PanResponder reconciles several touches into a single gesture. It makes single-touch gestures resilient to extra touches, and can be used to recognize simple multi-touch gestures.

+
Edit

PanResponder

PanResponder reconciles several touches into a single gesture. It makes single-touch gestures resilient to extra touches, and can be used to recognize basic multi-touch gestures.

By default, PanResponder holds an `InteractionManager handle to block long-running JS events from interrupting active gestures.

It provides a predictable wrapper of the responder handlers provided by the gesture responder system. For each handler, it provides a new gestureState object alongside the native event object:

onPanResponderMove: (event, gestureState) => {}
@@ -157,7 +157,7 @@
 

create()

static create(config)
 
-

@param {object} config Enhanced versions of all of the responder callbacks that provide not only the typical ResponderSyntheticEvent, but also the PanResponder gesture state. Simply replace the word Responder with PanResponder in each of the typical onResponder* callbacks. For example, the config object would look like:

+

@param {object} config Enhanced versions of all of the responder callbacks that provide not only the typical ResponderSyntheticEvent, but also the PanResponder gesture state. You only need to replace the word Responder with PanResponder in each of the typical onResponder* callbacks. For example, the config object would look like:

  • onMoveShouldSetPanResponder: (e, gestureState) => {...}
  • onMoveShouldSetPanResponderCapture: (e, gestureState) => {...}
  • diff --git a/docs/0.29/touchableopacity.html b/docs/0.29/touchableopacity.html index 00bdfd746a0..a05abd80a20 100644 --- a/docs/0.29/touchableopacity.html +++ b/docs/0.29/touchableopacity.html @@ -1,4 +1,4 @@ -TouchableOpacity · React Native
Edit

TouchableOpacity

A wrapper for making views respond properly to touches. On press down, the opacity of the wrapped view is decreased, dimming it. This is done without actually changing the view hierarchy, and in general is easy to add to an app without weird side-effects.

+
Edit

TouchableOpacity

A wrapper for making views respond properly to touches. On press down, the opacity of the wrapped view is decreased, dimming it. This is done without actually changing the view hierarchy, and in general is quick to add to an app without weird side-effects.

Example:

renderButton: function() {
   return (
diff --git a/docs/0.29/touchableopacity/index.html b/docs/0.29/touchableopacity/index.html
index 00bdfd746a0..a05abd80a20 100644
--- a/docs/0.29/touchableopacity/index.html
+++ b/docs/0.29/touchableopacity/index.html
@@ -1,4 +1,4 @@
-TouchableOpacity · React Native
Edit

TouchableOpacity

A wrapper for making views respond properly to touches. On press down, the opacity of the wrapped view is decreased, dimming it. This is done without actually changing the view hierarchy, and in general is easy to add to an app without weird side-effects.

+
Edit

TouchableOpacity

A wrapper for making views respond properly to touches. On press down, the opacity of the wrapped view is decreased, dimming it. This is done without actually changing the view hierarchy, and in general is quick to add to an app without weird side-effects.

Example:

renderButton: function() {
   return (
diff --git a/docs/0.30/panresponder.html b/docs/0.30/panresponder.html
index e485674f552..a8ef119368c 100644
--- a/docs/0.30/panresponder.html
+++ b/docs/0.30/panresponder.html
@@ -1,4 +1,4 @@
-PanResponder · React Native
Edit

PanResponder

PanResponder reconciles several touches into a single gesture. It makes single-touch gestures resilient to extra touches, and can be used to recognize simple multi-touch gestures.

+
Edit

PanResponder

PanResponder reconciles several touches into a single gesture. It makes single-touch gestures resilient to extra touches, and can be used to recognize basic multi-touch gestures.

By default, PanResponder holds an `InteractionManager handle to block long-running JS events from interrupting active gestures.

It provides a predictable wrapper of the responder handlers provided by the gesture responder system. For each handler, it provides a new gestureState object alongside the native event object:

onPanResponderMove: (event, gestureState) => {}
@@ -157,7 +157,7 @@
 

create()

static create(config)
 
-

@param {object} config Enhanced versions of all of the responder callbacks that provide not only the typical ResponderSyntheticEvent, but also the PanResponder gesture state. Simply replace the word Responder with PanResponder in each of the typical onResponder* callbacks. For example, the config object would look like:

+

@param {object} config Enhanced versions of all of the responder callbacks that provide not only the typical ResponderSyntheticEvent, but also the PanResponder gesture state. You only need to replace the word Responder with PanResponder in each of the typical onResponder* callbacks. For example, the config object would look like:

  • onMoveShouldSetPanResponder: (e, gestureState) => {...}
  • onMoveShouldSetPanResponderCapture: (e, gestureState) => {...}
  • diff --git a/docs/0.30/panresponder/index.html b/docs/0.30/panresponder/index.html index e485674f552..a8ef119368c 100644 --- a/docs/0.30/panresponder/index.html +++ b/docs/0.30/panresponder/index.html @@ -1,4 +1,4 @@ -PanResponder · React Native
Edit

PanResponder

PanResponder reconciles several touches into a single gesture. It makes single-touch gestures resilient to extra touches, and can be used to recognize simple multi-touch gestures.

+
Edit

PanResponder

PanResponder reconciles several touches into a single gesture. It makes single-touch gestures resilient to extra touches, and can be used to recognize basic multi-touch gestures.

By default, PanResponder holds an `InteractionManager handle to block long-running JS events from interrupting active gestures.

It provides a predictable wrapper of the responder handlers provided by the gesture responder system. For each handler, it provides a new gestureState object alongside the native event object:

onPanResponderMove: (event, gestureState) => {}
@@ -157,7 +157,7 @@
 

create()

static create(config)
 
-

@param {object} config Enhanced versions of all of the responder callbacks that provide not only the typical ResponderSyntheticEvent, but also the PanResponder gesture state. Simply replace the word Responder with PanResponder in each of the typical onResponder* callbacks. For example, the config object would look like:

+

@param {object} config Enhanced versions of all of the responder callbacks that provide not only the typical ResponderSyntheticEvent, but also the PanResponder gesture state. You only need to replace the word Responder with PanResponder in each of the typical onResponder* callbacks. For example, the config object would look like:

  • onMoveShouldSetPanResponder: (e, gestureState) => {...}
  • onMoveShouldSetPanResponderCapture: (e, gestureState) => {...}
  • diff --git a/docs/0.30/touchableopacity.html b/docs/0.30/touchableopacity.html index 6d9837b67a4..b5a30a3a77a 100644 --- a/docs/0.30/touchableopacity.html +++ b/docs/0.30/touchableopacity.html @@ -1,4 +1,4 @@ -TouchableOpacity · React Native
Edit

TouchableOpacity

A wrapper for making views respond properly to touches. On press down, the opacity of the wrapped view is decreased, dimming it. This is done without actually changing the view hierarchy, and in general is easy to add to an app without weird side-effects.

+
Edit

TouchableOpacity

A wrapper for making views respond properly to touches. On press down, the opacity of the wrapped view is decreased, dimming it. This is done without actually changing the view hierarchy, and in general is quick to add to an app without weird side-effects.

Example:

renderButton: function() {
   return (
diff --git a/docs/0.30/touchableopacity/index.html b/docs/0.30/touchableopacity/index.html
index 6d9837b67a4..b5a30a3a77a 100644
--- a/docs/0.30/touchableopacity/index.html
+++ b/docs/0.30/touchableopacity/index.html
@@ -1,4 +1,4 @@
-TouchableOpacity · React Native
Edit

TouchableOpacity

A wrapper for making views respond properly to touches. On press down, the opacity of the wrapped view is decreased, dimming it. This is done without actually changing the view hierarchy, and in general is easy to add to an app without weird side-effects.

+
Edit

TouchableOpacity

A wrapper for making views respond properly to touches. On press down, the opacity of the wrapped view is decreased, dimming it. This is done without actually changing the view hierarchy, and in general is quick to add to an app without weird side-effects.

Example:

renderButton: function() {
   return (