diff --git a/docs/0.34/animated.html b/docs/0.34/animated.html index 3487fbc51a2..00de975be9a 100644 --- a/docs/0.34/animated.html +++ b/docs/0.34/animated.html @@ -1,4 +1,4 @@ -Animated · React Native
Edit

Animated

Animations are an important part of modern UX, and the Animated library is designed to make them fluid, powerful, and easy to build and maintain.

-

The simplest workflow is to create an Animated.Value, hook it up to one or more style attributes of an animated component, and then drive updates either via animations, such as Animated.timing, or by hooking into gestures like panning or scrolling via Animated.event. Animated.Value can also bind to props other than style, and can be interpolated as well. Here is a basic example of a container view that will fade in when it's mounted:

+
Edit

Animated

Animations are an important part of modern UX, and the Animated library is designed to make them fluid, powerful, and painless to build and maintain.

+

The most basic workflow is to create an Animated.Value, hook it up to one or more style attributes of an animated component, and then drive updates either via animations, such as Animated.timing, or by hooking into gestures like panning or scrolling via Animated.event. Animated.Value can also bind to props other than style, and can be interpolated as well. Here is a basic example of a container view that will fade in when it's mounted:

class FadeInView extends React.Component {
   constructor(props) {
     super(props);
@@ -96,12 +96,12 @@
   }
 }
 
-

Note that only animatable components can be animated. View, Text, and Image are already provided, and you can create custom ones with createAnimatedComponent. These special components do the magic of binding the animated values to the properties, and do targeted native updates to avoid the cost of the react render and reconciliation process on every frame. They also handle cleanup on unmount so they are safe by default.

+

Note that only animatable components can be animated. View, Text, and Image are already provided, and you can create custom ones with createAnimatedComponent. These unique components do the magic of binding the animated values to the properties, and do targeted native updates to avoid the cost of the react render and reconciliation process on every frame. They also handle cleanup on unmount so they are safe by default.

Animations are heavily configurable. Custom and pre-defined easing functions, delays, durations, decay factors, spring constants, and more can all be tweaked depending on the type of animation.

A single Animated.Value can drive any number of properties, and each property can be run through an interpolation first. An interpolation maps input ranges to output ranges, typically using a linear interpolation but also supports easing functions. By default, it will extrapolate the curve beyond the ranges given, but you can also have it clamp the output value.

For example, you may want to think about your Animated.Value as going from 0 to 1, but animate the position from 150px to 0px and the opacity from 0 to

    -
  1. This can easily be done by modifying style in the example above like so:
  2. +
  3. This can be done by modifying style in the example above like so:
 style={{
    opacity: this.state.fadeAnim, // Binds directly
@@ -113,7 +113,7 @@
    }],
  }}>
 
-

Animations can also be combined in complex ways using composition functions such as sequence and parallel, and can also be chained together simply by setting the toValue of one animation to be another Animated.Value.

+

Animations can also be combined in complex ways using composition functions such as sequence and parallel, and can also be chained together by setting the toValue of one animation to be another Animated.Value.

Animated.ValueXY is handy for 2D animations, like panning, and there are other helpful additions like setOffset and getLayout to aid with typical interaction patterns, like drag-and-drop.

You can see more example usage in AnimationExample.js, the Gratuitous Animation App, and Animations documentation guide.

Note that Animated is designed to be fully serializable so that animations can be run in a high performance way, independent of the normal JavaScript event loop. This does influence the API, so keep that in mind when it seems a little trickier to do something compared to a fully synchronous system. Checkout Animated.Value.addListener as a way to work around some of these limitations, but use it sparingly since it might have performance implications in the future.

diff --git a/docs/0.34/animated/index.html b/docs/0.34/animated/index.html index 3487fbc51a2..00de975be9a 100644 --- a/docs/0.34/animated/index.html +++ b/docs/0.34/animated/index.html @@ -1,4 +1,4 @@ -Animated · React Native
Edit

Animated

Animations are an important part of modern UX, and the Animated library is designed to make them fluid, powerful, and easy to build and maintain.

-

The simplest workflow is to create an Animated.Value, hook it up to one or more style attributes of an animated component, and then drive updates either via animations, such as Animated.timing, or by hooking into gestures like panning or scrolling via Animated.event. Animated.Value can also bind to props other than style, and can be interpolated as well. Here is a basic example of a container view that will fade in when it's mounted:

+
Edit

Animated

Animations are an important part of modern UX, and the Animated library is designed to make them fluid, powerful, and painless to build and maintain.

+

The most basic workflow is to create an Animated.Value, hook it up to one or more style attributes of an animated component, and then drive updates either via animations, such as Animated.timing, or by hooking into gestures like panning or scrolling via Animated.event. Animated.Value can also bind to props other than style, and can be interpolated as well. Here is a basic example of a container view that will fade in when it's mounted:

class FadeInView extends React.Component {
   constructor(props) {
     super(props);
@@ -96,12 +96,12 @@
   }
 }
 
-

Note that only animatable components can be animated. View, Text, and Image are already provided, and you can create custom ones with createAnimatedComponent. These special components do the magic of binding the animated values to the properties, and do targeted native updates to avoid the cost of the react render and reconciliation process on every frame. They also handle cleanup on unmount so they are safe by default.

+

Note that only animatable components can be animated. View, Text, and Image are already provided, and you can create custom ones with createAnimatedComponent. These unique components do the magic of binding the animated values to the properties, and do targeted native updates to avoid the cost of the react render and reconciliation process on every frame. They also handle cleanup on unmount so they are safe by default.

Animations are heavily configurable. Custom and pre-defined easing functions, delays, durations, decay factors, spring constants, and more can all be tweaked depending on the type of animation.

A single Animated.Value can drive any number of properties, and each property can be run through an interpolation first. An interpolation maps input ranges to output ranges, typically using a linear interpolation but also supports easing functions. By default, it will extrapolate the curve beyond the ranges given, but you can also have it clamp the output value.

For example, you may want to think about your Animated.Value as going from 0 to 1, but animate the position from 150px to 0px and the opacity from 0 to

    -
  1. This can easily be done by modifying style in the example above like so:
  2. +
  3. This can be done by modifying style in the example above like so:
 style={{
    opacity: this.state.fadeAnim, // Binds directly
@@ -113,7 +113,7 @@
    }],
  }}>
 
-

Animations can also be combined in complex ways using composition functions such as sequence and parallel, and can also be chained together simply by setting the toValue of one animation to be another Animated.Value.

+

Animations can also be combined in complex ways using composition functions such as sequence and parallel, and can also be chained together by setting the toValue of one animation to be another Animated.Value.

Animated.ValueXY is handy for 2D animations, like panning, and there are other helpful additions like setOffset and getLayout to aid with typical interaction patterns, like drag-and-drop.

You can see more example usage in AnimationExample.js, the Gratuitous Animation App, and Animations documentation guide.

Note that Animated is designed to be fully serializable so that animations can be run in a high performance way, independent of the normal JavaScript event loop. This does influence the API, so keep that in mind when it seems a little trickier to do something compared to a fully synchronous system. Checkout Animated.Value.addListener as a way to work around some of these limitations, but use it sparingly since it might have performance implications in the future.

diff --git a/docs/0.34/layout-props.html b/docs/0.34/layout-props.html index 69b311d523d..96b8d1102d1 100644 --- a/docs/0.34/layout-props.html +++ b/docs/0.34/layout-props.html @@ -514,9 +514,9 @@

position

-

position in React Native is similar to regular CSS, but everything is set to relative by default, so absolute positioning is always just relative to the parent.

+

position in React Native is similar to regular CSS, but everything is set to relative by default, so absolute positioning is always relative to the parent.

If you want to position a child using specific numbers of logical pixels relative to its parent, set the child to have absolute position.

-

If you want to position a child relative to something that is not its parent, just don't use styles for that. Use the component tree.

+

If you want to position a child relative to something that is not its parent, don't use styles for that. Use the component tree.

See https://github.com/facebook/css-layout for more details on how position differs between React Native and CSS.

diff --git a/docs/0.34/layout-props/index.html b/docs/0.34/layout-props/index.html index 69b311d523d..96b8d1102d1 100644 --- a/docs/0.34/layout-props/index.html +++ b/docs/0.34/layout-props/index.html @@ -514,9 +514,9 @@

position

-

position in React Native is similar to regular CSS, but everything is set to relative by default, so absolute positioning is always just relative to the parent.

+

position in React Native is similar to regular CSS, but everything is set to relative by default, so absolute positioning is always relative to the parent.

If you want to position a child using specific numbers of logical pixels relative to its parent, set the child to have absolute position.

-

If you want to position a child relative to something that is not its parent, just don't use styles for that. Use the component tree.

+

If you want to position a child relative to something that is not its parent, don't use styles for that. Use the component tree.

See https://github.com/facebook/css-layout for more details on how position differs between React Native and CSS.

diff --git a/docs/0.34/modal.html b/docs/0.34/modal.html index b12e77a4ad9..5968e58a05f 100644 --- a/docs/0.34/modal.html +++ b/docs/0.34/modal.html @@ -1,4 +1,4 @@ -Modal · React Native
Edit

Modal

The Modal component is a simple way to present content above an enclosing view.

+
Edit

Modal

The Modal component is a basic way to present content above an enclosing view.

Note: If you need more control over how to present modals over the rest of your app, then consider using a top-level Navigator. Go here to compare navigation options.

import React, {Component} from 'react';
 import {Modal, Text, TouchableHighlight, View} from 'react-native';
diff --git a/docs/0.34/modal/index.html b/docs/0.34/modal/index.html
index b12e77a4ad9..5968e58a05f 100644
--- a/docs/0.34/modal/index.html
+++ b/docs/0.34/modal/index.html
@@ -1,4 +1,4 @@
-Modal · React Native
Edit

Modal

The Modal component is a simple way to present content above an enclosing view.

+
Edit

Modal

The Modal component is a basic way to present content above an enclosing view.

Note: If you need more control over how to present modals over the rest of your app, then consider using a top-level Navigator. Go here to compare navigation options.

import React, {Component} from 'react';
 import {Modal, Text, TouchableHighlight, View} from 'react-native';
diff --git a/docs/0.34/navigatorios.html b/docs/0.34/navigatorios.html
index 01081eeae55..21fcdbff595 100644
--- a/docs/0.34/navigatorios.html
+++ b/docs/0.34/navigatorios.html
@@ -254,7 +254,7 @@ render() {
 

interactivePopGestureEnabled

-

Boolean value that indicates whether the interactive pop gesture is enabled. This is useful for enabling/disabling the back swipe navigation gesture.

+

Boolean value that indicates whether the interactive pop gesture is enabled. This is useful for enabling/disabling the back swipe navigation gesture.

If this prop is not provided, the default behavior is for the back swipe gesture to be enabled when the navigation bar is shown and disabled when the navigation bar is hidden. Once you've provided the interactivePopGestureEnabled prop, you can never restore the default behavior.

@@ -362,7 +362,7 @@ render() {

pop()

pop();
 
-

Pop back to the previous scene.

+

Pop back to the previous scene.


replaceAtIndex()

replaceAtIndex((route: object), (index: number));
@@ -443,7 +443,7 @@ render() {
 

resetTo()

resetTo((route: object));
 
-

Replaces the top item and pop to it.

+

Replaces the top item and pop to it.

Parameters:

diff --git a/docs/0.34/navigatorios/index.html b/docs/0.34/navigatorios/index.html index 01081eeae55..21fcdbff595 100644 --- a/docs/0.34/navigatorios/index.html +++ b/docs/0.34/navigatorios/index.html @@ -254,7 +254,7 @@ render() {

interactivePopGestureEnabled

-

Boolean value that indicates whether the interactive pop gesture is enabled. This is useful for enabling/disabling the back swipe navigation gesture.

+

Boolean value that indicates whether the interactive pop gesture is enabled. This is useful for enabling/disabling the back swipe navigation gesture.

If this prop is not provided, the default behavior is for the back swipe gesture to be enabled when the navigation bar is shown and disabled when the navigation bar is hidden. Once you've provided the interactivePopGestureEnabled prop, you can never restore the default behavior.

@@ -362,7 +362,7 @@ render() {

pop()

pop();
 
-

Pop back to the previous scene.

+

Pop back to the previous scene.


replaceAtIndex()

replaceAtIndex((route: object), (index: number));
@@ -443,7 +443,7 @@ render() {
 

resetTo()

resetTo((route: object));
 
-

Replaces the top item and pop to it.

+

Replaces the top item and pop to it.

Parameters:

diff --git a/docs/0.34/textinput.html b/docs/0.34/textinput.html index 253b5189c6c..7ba66ffa734 100644 --- a/docs/0.34/textinput.html +++ b/docs/0.34/textinput.html @@ -69,7 +69,7 @@ } });
Edit

TextInput

A foundational component for inputting text into the app via a keyboard. Props provide configurability for several features, such as auto-correction, auto-capitalization, placeholder text, and different keyboard types, such as a numeric keypad.

-

The simplest use case is to plop down a TextInput and subscribe to the onChangeText events to read the user input. There are also other events, such as onSubmitEditing and onFocus that can be subscribed to. A simple example:

+

The most basic use case is to plop down a TextInput and subscribe to the onChangeText events to read the user input. There are also other events, such as onSubmitEditing and onFocus that can be subscribed to. A basic example:


defaultValue

-

Provides an initial value that will change when the user starts typing. Useful for simple use-cases where you do not want to deal with listening to events and updating the value prop to keep the controlled state in sync.

+

Provides an initial value that will change when the user starts typing. Useful for use-cases where you do not want to deal with listening to events and updating the value prop to keep the controlled state in sync.

@@ -549,7 +549,7 @@ AppRegistry.registerComponent(
TypeRequired

value

-

The value to show for the text input. TextInput is a controlled component, which means the native value will be forced to match this value prop if provided. For most uses, this works great, but in some cases this may cause flickering - one common cause is preventing edits by keeping value the same. In addition to simply setting the same value, either set editable={false}, or set/update maxLength to prevent unwanted edits without flicker.

+

The value to show for the text input. TextInput is a controlled component, which means the native value will be forced to match this value prop if provided. For most uses, this works great, but in some cases this may cause flickering - one common cause is preventing edits by keeping value the same. In addition to setting the same value, either set editable={false}, or set/update maxLength to prevent unwanted edits without flicker.

diff --git a/docs/0.34/textinput/index.html b/docs/0.34/textinput/index.html index 253b5189c6c..7ba66ffa734 100644 --- a/docs/0.34/textinput/index.html +++ b/docs/0.34/textinput/index.html @@ -69,7 +69,7 @@ } });
Edit

TextInput

A foundational component for inputting text into the app via a keyboard. Props provide configurability for several features, such as auto-correction, auto-capitalization, placeholder text, and different keyboard types, such as a numeric keypad.

-

The simplest use case is to plop down a TextInput and subscribe to the onChangeText events to read the user input. There are also other events, such as onSubmitEditing and onFocus that can be subscribed to. A simple example:

+

The most basic use case is to plop down a TextInput and subscribe to the onChangeText events to read the user input. There are also other events, such as onSubmitEditing and onFocus that can be subscribed to. A basic example:

TypeRequired

defaultValue

-

Provides an initial value that will change when the user starts typing. Useful for simple use-cases where you do not want to deal with listening to events and updating the value prop to keep the controlled state in sync.

+

Provides an initial value that will change when the user starts typing. Useful for use-cases where you do not want to deal with listening to events and updating the value prop to keep the controlled state in sync.

@@ -549,7 +549,7 @@ AppRegistry.registerComponent(
TypeRequired

value

-

The value to show for the text input. TextInput is a controlled component, which means the native value will be forced to match this value prop if provided. For most uses, this works great, but in some cases this may cause flickering - one common cause is preventing edits by keeping value the same. In addition to simply setting the same value, either set editable={false}, or set/update maxLength to prevent unwanted edits without flicker.

+

The value to show for the text input. TextInput is a controlled component, which means the native value will be forced to match this value prop if provided. For most uses, this works great, but in some cases this may cause flickering - one common cause is preventing edits by keeping value the same. In addition to setting the same value, either set editable={false}, or set/update maxLength to prevent unwanted edits without flicker.

diff --git a/docs/0.35/animated.html b/docs/0.35/animated.html index ce2abab14b7..accceb86d4a 100644 --- a/docs/0.35/animated.html +++ b/docs/0.35/animated.html @@ -1,4 +1,4 @@ -Animated · React Native
Edit

Animated

Animations are an important part of modern UX, and the Animated library is designed to make them fluid, powerful, and easy to build and maintain.

-

The simplest workflow is to create an Animated.Value, hook it up to one or more style attributes of an animated component, and then drive updates either via animations, such as Animated.timing, or by hooking into gestures like panning or scrolling via Animated.event. Animated.Value can also bind to props other than style, and can be interpolated as well. Here is a basic example of a container view that will fade in when it's mounted:

+
Edit

Animated

Animations are an important part of modern UX, and the Animated library is designed to make them fluid, powerful, and painless to build and maintain.

+

The most basic workflow is to create an Animated.Value, hook it up to one or more style attributes of an animated component, and then drive updates either via animations, such as Animated.timing, or by hooking into gestures like panning or scrolling via Animated.event. Animated.Value can also bind to props other than style, and can be interpolated as well. Here is a basic example of a container view that will fade in when it's mounted:

class FadeInView extends React.Component {
   constructor(props) {
     super(props);
@@ -96,12 +96,12 @@
   }
 }
 
-

Note that only animatable components can be animated. View, Text, and Image are already provided, and you can create custom ones with createAnimatedComponent. These special components do the magic of binding the animated values to the properties, and do targeted native updates to avoid the cost of the react render and reconciliation process on every frame. They also handle cleanup on unmount so they are safe by default.

+

Note that only animatable components can be animated. View, Text, and Image are already provided, and you can create custom ones with createAnimatedComponent. These unique components do the magic of binding the animated values to the properties, and do targeted native updates to avoid the cost of the react render and reconciliation process on every frame. They also handle cleanup on unmount so they are safe by default.

Animations are heavily configurable. Custom and pre-defined easing functions, delays, durations, decay factors, spring constants, and more can all be tweaked depending on the type of animation.

A single Animated.Value can drive any number of properties, and each property can be run through an interpolation first. An interpolation maps input ranges to output ranges, typically using a linear interpolation but also supports easing functions. By default, it will extrapolate the curve beyond the ranges given, but you can also have it clamp the output value.

For example, you may want to think about your Animated.Value as going from 0 to 1, but animate the position from 150px to 0px and the opacity from 0 to

    -
  1. This can easily be done by modifying style in the example above like so:
  2. +
  3. This can be done by modifying style in the example above like so:
 style={{
    opacity: this.state.fadeAnim, // Binds directly
@@ -113,7 +113,7 @@
    }],
  }}>
 
-

Animations can also be combined in complex ways using composition functions such as sequence and parallel, and can also be chained together simply by setting the toValue of one animation to be another Animated.Value.

+

Animations can also be combined in complex ways using composition functions such as sequence and parallel, and can also be chained together by setting the toValue of one animation to be another Animated.Value.

Animated.ValueXY is handy for 2D animations, like panning, and there are other helpful additions like setOffset and getLayout to aid with typical interaction patterns, like drag-and-drop.

You can see more example usage in AnimationExample.js, the Gratuitous Animation App, and Animations documentation guide.

Note that Animated is designed to be fully serializable so that animations can be run in a high performance way, independent of the normal JavaScript event loop. This does influence the API, so keep that in mind when it seems a little trickier to do something compared to a fully synchronous system. Checkout Animated.Value.addListener as a way to work around some of these limitations, but use it sparingly since it might have performance implications in the future.

diff --git a/docs/0.35/animated/index.html b/docs/0.35/animated/index.html index ce2abab14b7..accceb86d4a 100644 --- a/docs/0.35/animated/index.html +++ b/docs/0.35/animated/index.html @@ -1,4 +1,4 @@ -Animated · React Native
Edit

Animated

Animations are an important part of modern UX, and the Animated library is designed to make them fluid, powerful, and easy to build and maintain.

-

The simplest workflow is to create an Animated.Value, hook it up to one or more style attributes of an animated component, and then drive updates either via animations, such as Animated.timing, or by hooking into gestures like panning or scrolling via Animated.event. Animated.Value can also bind to props other than style, and can be interpolated as well. Here is a basic example of a container view that will fade in when it's mounted:

+
Edit

Animated

Animations are an important part of modern UX, and the Animated library is designed to make them fluid, powerful, and painless to build and maintain.

+

The most basic workflow is to create an Animated.Value, hook it up to one or more style attributes of an animated component, and then drive updates either via animations, such as Animated.timing, or by hooking into gestures like panning or scrolling via Animated.event. Animated.Value can also bind to props other than style, and can be interpolated as well. Here is a basic example of a container view that will fade in when it's mounted:

class FadeInView extends React.Component {
   constructor(props) {
     super(props);
@@ -96,12 +96,12 @@
   }
 }
 
-

Note that only animatable components can be animated. View, Text, and Image are already provided, and you can create custom ones with createAnimatedComponent. These special components do the magic of binding the animated values to the properties, and do targeted native updates to avoid the cost of the react render and reconciliation process on every frame. They also handle cleanup on unmount so they are safe by default.

+

Note that only animatable components can be animated. View, Text, and Image are already provided, and you can create custom ones with createAnimatedComponent. These unique components do the magic of binding the animated values to the properties, and do targeted native updates to avoid the cost of the react render and reconciliation process on every frame. They also handle cleanup on unmount so they are safe by default.

Animations are heavily configurable. Custom and pre-defined easing functions, delays, durations, decay factors, spring constants, and more can all be tweaked depending on the type of animation.

A single Animated.Value can drive any number of properties, and each property can be run through an interpolation first. An interpolation maps input ranges to output ranges, typically using a linear interpolation but also supports easing functions. By default, it will extrapolate the curve beyond the ranges given, but you can also have it clamp the output value.

For example, you may want to think about your Animated.Value as going from 0 to 1, but animate the position from 150px to 0px and the opacity from 0 to

    -
  1. This can easily be done by modifying style in the example above like so:
  2. +
  3. This can be done by modifying style in the example above like so:
 style={{
    opacity: this.state.fadeAnim, // Binds directly
@@ -113,7 +113,7 @@
    }],
  }}>
 
-

Animations can also be combined in complex ways using composition functions such as sequence and parallel, and can also be chained together simply by setting the toValue of one animation to be another Animated.Value.

+

Animations can also be combined in complex ways using composition functions such as sequence and parallel, and can also be chained together by setting the toValue of one animation to be another Animated.Value.

Animated.ValueXY is handy for 2D animations, like panning, and there are other helpful additions like setOffset and getLayout to aid with typical interaction patterns, like drag-and-drop.

You can see more example usage in AnimationExample.js, the Gratuitous Animation App, and Animations documentation guide.

Note that Animated is designed to be fully serializable so that animations can be run in a high performance way, independent of the normal JavaScript event loop. This does influence the API, so keep that in mind when it seems a little trickier to do something compared to a fully synchronous system. Checkout Animated.Value.addListener as a way to work around some of these limitations, but use it sparingly since it might have performance implications in the future.

diff --git a/docs/0.35/layout-props.html b/docs/0.35/layout-props.html index 616836509bc..bbae8a3af6d 100644 --- a/docs/0.35/layout-props.html +++ b/docs/0.35/layout-props.html @@ -514,9 +514,9 @@
TypeRequired

position

-

position in React Native is similar to regular CSS, but everything is set to relative by default, so absolute positioning is always just relative to the parent.

+

position in React Native is similar to regular CSS, but everything is set to relative by default, so absolute positioning is always relative to the parent.

If you want to position a child using specific numbers of logical pixels relative to its parent, set the child to have absolute position.

-

If you want to position a child relative to something that is not its parent, just don't use styles for that. Use the component tree.

+

If you want to position a child relative to something that is not its parent, don't use styles for that. Use the component tree.

See https://github.com/facebook/css-layout for more details on how position differs between React Native and CSS.

diff --git a/docs/0.35/layout-props/index.html b/docs/0.35/layout-props/index.html index 616836509bc..bbae8a3af6d 100644 --- a/docs/0.35/layout-props/index.html +++ b/docs/0.35/layout-props/index.html @@ -514,9 +514,9 @@

position

-

position in React Native is similar to regular CSS, but everything is set to relative by default, so absolute positioning is always just relative to the parent.

+

position in React Native is similar to regular CSS, but everything is set to relative by default, so absolute positioning is always relative to the parent.

If you want to position a child using specific numbers of logical pixels relative to its parent, set the child to have absolute position.

-

If you want to position a child relative to something that is not its parent, just don't use styles for that. Use the component tree.

+

If you want to position a child relative to something that is not its parent, don't use styles for that. Use the component tree.

See https://github.com/facebook/css-layout for more details on how position differs between React Native and CSS.

diff --git a/docs/0.35/modal.html b/docs/0.35/modal.html index 3529a855c0b..b480536555b 100644 --- a/docs/0.35/modal.html +++ b/docs/0.35/modal.html @@ -1,4 +1,4 @@ -Modal · React Native
Edit

Modal

The Modal component is a simple way to present content above an enclosing view.

+
Edit

Modal

The Modal component is a basic way to present content above an enclosing view.

Note: If you need more control over how to present modals over the rest of your app, then consider using a top-level Navigator. Go here to compare navigation options.

import React, {Component} from 'react';
 import {Modal, Text, TouchableHighlight, View} from 'react-native';
diff --git a/docs/0.35/modal/index.html b/docs/0.35/modal/index.html
index 3529a855c0b..b480536555b 100644
--- a/docs/0.35/modal/index.html
+++ b/docs/0.35/modal/index.html
@@ -1,4 +1,4 @@
-Modal · React Native
Edit

Modal

The Modal component is a simple way to present content above an enclosing view.

+
Edit

Modal

The Modal component is a basic way to present content above an enclosing view.

Note: If you need more control over how to present modals over the rest of your app, then consider using a top-level Navigator. Go here to compare navigation options.

import React, {Component} from 'react';
 import {Modal, Text, TouchableHighlight, View} from 'react-native';
diff --git a/docs/0.35/navigatorios.html b/docs/0.35/navigatorios.html
index fac608a3a1e..2791f0a9127 100644
--- a/docs/0.35/navigatorios.html
+++ b/docs/0.35/navigatorios.html
@@ -254,7 +254,7 @@ render() {
 

interactivePopGestureEnabled

-

Boolean value that indicates whether the interactive pop gesture is enabled. This is useful for enabling/disabling the back swipe navigation gesture.

+

Boolean value that indicates whether the interactive pop gesture is enabled. This is useful for enabling/disabling the back swipe navigation gesture.

If this prop is not provided, the default behavior is for the back swipe gesture to be enabled when the navigation bar is shown and disabled when the navigation bar is hidden. Once you've provided the interactivePopGestureEnabled prop, you can never restore the default behavior.

@@ -362,7 +362,7 @@ render() {

pop()

pop();
 
-

Pop back to the previous scene.

+

Pop back to the previous scene.


replaceAtIndex()

replaceAtIndex((route: object), (index: number));
@@ -443,7 +443,7 @@ render() {
 

resetTo()

resetTo((route: object));
 
-

Replaces the top item and pop to it.

+

Replaces the top item and pop to it.

Parameters:

diff --git a/docs/0.35/navigatorios/index.html b/docs/0.35/navigatorios/index.html index fac608a3a1e..2791f0a9127 100644 --- a/docs/0.35/navigatorios/index.html +++ b/docs/0.35/navigatorios/index.html @@ -254,7 +254,7 @@ render() {

interactivePopGestureEnabled

-

Boolean value that indicates whether the interactive pop gesture is enabled. This is useful for enabling/disabling the back swipe navigation gesture.

+

Boolean value that indicates whether the interactive pop gesture is enabled. This is useful for enabling/disabling the back swipe navigation gesture.

If this prop is not provided, the default behavior is for the back swipe gesture to be enabled when the navigation bar is shown and disabled when the navigation bar is hidden. Once you've provided the interactivePopGestureEnabled prop, you can never restore the default behavior.

@@ -362,7 +362,7 @@ render() {

pop()

pop();
 
-

Pop back to the previous scene.

+

Pop back to the previous scene.


replaceAtIndex()

replaceAtIndex((route: object), (index: number));
@@ -443,7 +443,7 @@ render() {
 

resetTo()

resetTo((route: object));
 
-

Replaces the top item and pop to it.

+

Replaces the top item and pop to it.

Parameters:

diff --git a/docs/0.35/textinput.html b/docs/0.35/textinput.html index 70e1aae6809..fb876cd5e85 100644 --- a/docs/0.35/textinput.html +++ b/docs/0.35/textinput.html @@ -69,7 +69,7 @@ } });
Edit

TextInput

A foundational component for inputting text into the app via a keyboard. Props provide configurability for several features, such as auto-correction, auto-capitalization, placeholder text, and different keyboard types, such as a numeric keypad.

-

The simplest use case is to plop down a TextInput and subscribe to the onChangeText events to read the user input. There are also other events, such as onSubmitEditing and onFocus that can be subscribed to. A simple example:

+

The most basic use case is to plop down a TextInput and subscribe to the onChangeText events to read the user input. There are also other events, such as onSubmitEditing and onFocus that can be subscribed to. A basic example:


defaultValue

-

Provides an initial value that will change when the user starts typing. Useful for simple use-cases where you do not want to deal with listening to events and updating the value prop to keep the controlled state in sync.

+

Provides an initial value that will change when the user starts typing. Useful for use-cases where you do not want to deal with listening to events and updating the value prop to keep the controlled state in sync.

@@ -549,7 +549,7 @@ AppRegistry.registerComponent(
TypeRequired

value

-

The value to show for the text input. TextInput is a controlled component, which means the native value will be forced to match this value prop if provided. For most uses, this works great, but in some cases this may cause flickering - one common cause is preventing edits by keeping value the same. In addition to simply setting the same value, either set editable={false}, or set/update maxLength to prevent unwanted edits without flicker.

+

The value to show for the text input. TextInput is a controlled component, which means the native value will be forced to match this value prop if provided. For most uses, this works great, but in some cases this may cause flickering - one common cause is preventing edits by keeping value the same. In addition to setting the same value, either set editable={false}, or set/update maxLength to prevent unwanted edits without flicker.

diff --git a/docs/0.35/textinput/index.html b/docs/0.35/textinput/index.html index 70e1aae6809..fb876cd5e85 100644 --- a/docs/0.35/textinput/index.html +++ b/docs/0.35/textinput/index.html @@ -69,7 +69,7 @@ } });
Edit

TextInput

A foundational component for inputting text into the app via a keyboard. Props provide configurability for several features, such as auto-correction, auto-capitalization, placeholder text, and different keyboard types, such as a numeric keypad.

-

The simplest use case is to plop down a TextInput and subscribe to the onChangeText events to read the user input. There are also other events, such as onSubmitEditing and onFocus that can be subscribed to. A simple example:

+

The most basic use case is to plop down a TextInput and subscribe to the onChangeText events to read the user input. There are also other events, such as onSubmitEditing and onFocus that can be subscribed to. A basic example:

TypeRequired

defaultValue

-

Provides an initial value that will change when the user starts typing. Useful for simple use-cases where you do not want to deal with listening to events and updating the value prop to keep the controlled state in sync.

+

Provides an initial value that will change when the user starts typing. Useful for use-cases where you do not want to deal with listening to events and updating the value prop to keep the controlled state in sync.

@@ -549,7 +549,7 @@ AppRegistry.registerComponent(
TypeRequired

value

-

The value to show for the text input. TextInput is a controlled component, which means the native value will be forced to match this value prop if provided. For most uses, this works great, but in some cases this may cause flickering - one common cause is preventing edits by keeping value the same. In addition to simply setting the same value, either set editable={false}, or set/update maxLength to prevent unwanted edits without flicker.

+

The value to show for the text input. TextInput is a controlled component, which means the native value will be forced to match this value prop if provided. For most uses, this works great, but in some cases this may cause flickering - one common cause is preventing edits by keeping value the same. In addition to setting the same value, either set editable={false}, or set/update maxLength to prevent unwanted edits without flicker.

diff --git a/docs/0.36/navigatorios.html b/docs/0.36/navigatorios.html index 39af5605864..6d02a3db161 100644 --- a/docs/0.36/navigatorios.html +++ b/docs/0.36/navigatorios.html @@ -254,7 +254,7 @@ render() {
TypeRequired

interactivePopGestureEnabled

-

Boolean value that indicates whether the interactive pop gesture is enabled. This is useful for enabling/disabling the back swipe navigation gesture.

+

Boolean value that indicates whether the interactive pop gesture is enabled. This is useful for enabling/disabling the back swipe navigation gesture.

If this prop is not provided, the default behavior is for the back swipe gesture to be enabled when the navigation bar is shown and disabled when the navigation bar is hidden. Once you've provided the interactivePopGestureEnabled prop, you can never restore the default behavior.

@@ -362,7 +362,7 @@ render() {

pop()

pop();
 
-

Pop back to the previous scene.

+

Pop back to the previous scene.


replaceAtIndex()

replaceAtIndex((route: object), (index: number));
@@ -443,7 +443,7 @@ render() {
 

resetTo()

resetTo((route: object));
 
-

Replaces the top item and pop to it.

+

Replaces the top item and pop to it.

Parameters:

diff --git a/docs/0.36/navigatorios/index.html b/docs/0.36/navigatorios/index.html index 39af5605864..6d02a3db161 100644 --- a/docs/0.36/navigatorios/index.html +++ b/docs/0.36/navigatorios/index.html @@ -254,7 +254,7 @@ render() {

interactivePopGestureEnabled

-

Boolean value that indicates whether the interactive pop gesture is enabled. This is useful for enabling/disabling the back swipe navigation gesture.

+

Boolean value that indicates whether the interactive pop gesture is enabled. This is useful for enabling/disabling the back swipe navigation gesture.

If this prop is not provided, the default behavior is for the back swipe gesture to be enabled when the navigation bar is shown and disabled when the navigation bar is hidden. Once you've provided the interactivePopGestureEnabled prop, you can never restore the default behavior.

@@ -362,7 +362,7 @@ render() {

pop()

pop();
 
-

Pop back to the previous scene.

+

Pop back to the previous scene.


replaceAtIndex()

replaceAtIndex((route: object), (index: number));
@@ -443,7 +443,7 @@ render() {
 

resetTo()

resetTo((route: object));
 
-

Replaces the top item and pop to it.

+

Replaces the top item and pop to it.

Parameters: