diff --git a/docs/0.55/animated.html b/docs/0.55/animated.html index 2fd8ab9fec5..9490ac6857d 100644 --- a/docs/0.55/animated.html +++ b/docs/0.55/animated.html @@ -1,4 +1,4 @@ -Animated · React Native
Edit

Animated

The Animated library is designed to make animations fluid, powerful, and easy to build and maintain. Animated focuses on declarative relationships between inputs and outputs, with configurable transforms in between, and simple start/stop methods to control time-based animation execution.

-

The simplest workflow for creating an animation is to create an Animated.Value, hook it up to one or more style attributes of an animated component, and then drive updates via animations using Animated.timing():

+
Edit

Animated

The Animated library is designed to make animations fluid, powerful, and painless to build and maintain. Animated focuses on declarative relationships between inputs and outputs, with configurable transforms in between, and start/stop methods to control time-based animation execution.

+

The most basic workflow for creating an animation is to create an Animated.Value, hook it up to one or more style attributes of an animated component, and then drive updates via animations using Animated.timing():

Animated.timing(
   // Animate value over time
   this.state.fadeAnim, // The value to drive
@@ -90,7 +90,7 @@
 

Animated provides three types of animation types. Each animation type provides a particular animation curve that controls how your values animate from their initial value to the final value:

In most cases, you will be using timing(). By default, it uses a symmetric easeInOut curve that conveys the gradual acceleration of an object to full speed and concludes by gradually decelerating to a stop.

@@ -100,7 +100,7 @@

By using the native driver, we send everything about the animation to native before starting the animation, allowing native code to perform the animation on the UI thread without having to go through the bridge on every frame. Once the animation has started, the JS thread can be blocked without affecting the animation.

You can use the native driver by specifying useNativeDriver: true in your animation configuration. See the Animations guide to learn more.

Animatable components

-

Only animatable components can be animated. 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.

+

Only animatable components can be animated. These specific 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.

@@ -119,7 +119,7 @@
  • Animated.sequence() starts the animations in order, waiting for each to complete before starting the next.
  • Animated.stagger() starts animations in order and in parallel, but with successive delays.
  • -

    Animations can also be chained together simply by setting the toValue of one animation to be another Animated.Value. See Tracking dynamic values in the Animations guide.

    +

    Animations can also be chained together by setting the toValue of one animation to be another Animated.Value. See Tracking dynamic values in the Animations guide.

    By default, if one animation is stopped or interrupted, then all other animations in the group are also stopped.

    Combining animated values

    You can combine two animated values via addition, multiplication, division, or modulo to make a new animated value:

    @@ -214,14 +214,14 @@

    Animates a value according to an analytical spring model based on damped harmonic oscillation. Tracks velocity state to create fluid motions as the toValue updates, and can be chained together.

    Config is an object that may have the following options.

    Note that you can only define one of bounciness/speed, tension/friction, or stiffness/damping/mass, but not more than one:

    -

    The friction/tension or bounciness/speed options match the spring model in Facebook Pop, Rebound, and Origami.

    +

    The friction/tension or bounciness/speed options match the spring model in Facebook Pop, Rebound, and Origami.

    • friction: Controls "bounciness"/overshoot. Default 7.
    • tension: Controls speed. Default 40.
    • speed: Controls speed of the animation. Default 12.
    • bounciness: Controls bounciness. Default 8.
    -

    Specifying stiffness/damping/mass as parameters makes Animated.spring use an analytical spring model based on the motion equations of a damped harmonic oscillator. This behavior is slightly more precise and faithful to the physics behind spring dynamics, and closely mimics the implementation in iOS's CASpringAnimation primitive.

    +

    Specifying stiffness/damping/mass as parameters makes Animated.spring use an analytical spring model based on the motion equations of a damped harmonic oscillator. This behavior is slightly more precise and faithful to the physics behind spring dynamics, and closely mimics the implementation in iOS's CASpringAnimation class.

    • stiffness: The spring stiffness coefficient. Default 100.
    • damping: Defines how the spring’s motion should be damped due to the forces of friction. Default 10.
    • diff --git a/docs/0.55/animated/index.html b/docs/0.55/animated/index.html index 2fd8ab9fec5..9490ac6857d 100644 --- a/docs/0.55/animated/index.html +++ b/docs/0.55/animated/index.html @@ -1,4 +1,4 @@ -Animated · React Native
    Edit

    Animated

    The Animated library is designed to make animations fluid, powerful, and easy to build and maintain. Animated focuses on declarative relationships between inputs and outputs, with configurable transforms in between, and simple start/stop methods to control time-based animation execution.

    -

    The simplest workflow for creating an animation is to create an Animated.Value, hook it up to one or more style attributes of an animated component, and then drive updates via animations using Animated.timing():

    +
    Edit

    Animated

    The Animated library is designed to make animations fluid, powerful, and painless to build and maintain. Animated focuses on declarative relationships between inputs and outputs, with configurable transforms in between, and start/stop methods to control time-based animation execution.

    +

    The most basic workflow for creating an animation is to create an Animated.Value, hook it up to one or more style attributes of an animated component, and then drive updates via animations using Animated.timing():

    Animated.timing(
       // Animate value over time
       this.state.fadeAnim, // The value to drive
    @@ -90,7 +90,7 @@
     

    Animated provides three types of animation types. Each animation type provides a particular animation curve that controls how your values animate from their initial value to the final value:

    In most cases, you will be using timing(). By default, it uses a symmetric easeInOut curve that conveys the gradual acceleration of an object to full speed and concludes by gradually decelerating to a stop.

    @@ -100,7 +100,7 @@

    By using the native driver, we send everything about the animation to native before starting the animation, allowing native code to perform the animation on the UI thread without having to go through the bridge on every frame. Once the animation has started, the JS thread can be blocked without affecting the animation.

    You can use the native driver by specifying useNativeDriver: true in your animation configuration. See the Animations guide to learn more.

    Animatable components

    -

    Only animatable components can be animated. 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.

    +

    Only animatable components can be animated. These specific 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.

    @@ -119,7 +119,7 @@
  • Animated.sequence() starts the animations in order, waiting for each to complete before starting the next.
  • Animated.stagger() starts animations in order and in parallel, but with successive delays.
  • -

    Animations can also be chained together simply by setting the toValue of one animation to be another Animated.Value. See Tracking dynamic values in the Animations guide.

    +

    Animations can also be chained together by setting the toValue of one animation to be another Animated.Value. See Tracking dynamic values in the Animations guide.

    By default, if one animation is stopped or interrupted, then all other animations in the group are also stopped.

    Combining animated values

    You can combine two animated values via addition, multiplication, division, or modulo to make a new animated value:

    @@ -214,14 +214,14 @@

    Animates a value according to an analytical spring model based on damped harmonic oscillation. Tracks velocity state to create fluid motions as the toValue updates, and can be chained together.

    Config is an object that may have the following options.

    Note that you can only define one of bounciness/speed, tension/friction, or stiffness/damping/mass, but not more than one:

    -

    The friction/tension or bounciness/speed options match the spring model in Facebook Pop, Rebound, and Origami.

    +

    The friction/tension or bounciness/speed options match the spring model in Facebook Pop, Rebound, and Origami.

    • friction: Controls "bounciness"/overshoot. Default 7.
    • tension: Controls speed. Default 40.
    • speed: Controls speed of the animation. Default 12.
    • bounciness: Controls bounciness. Default 8.
    -

    Specifying stiffness/damping/mass as parameters makes Animated.spring use an analytical spring model based on the motion equations of a damped harmonic oscillator. This behavior is slightly more precise and faithful to the physics behind spring dynamics, and closely mimics the implementation in iOS's CASpringAnimation primitive.

    +

    Specifying stiffness/damping/mass as parameters makes Animated.spring use an analytical spring model based on the motion equations of a damped harmonic oscillator. This behavior is slightly more precise and faithful to the physics behind spring dynamics, and closely mimics the implementation in iOS's CASpringAnimation class.

    • stiffness: The spring stiffness coefficient. Default 100.
    • damping: Defines how the spring’s motion should be damped due to the forces of friction. Default 10.
    • diff --git a/docs/0.55/appstate.html b/docs/0.55/appstate.html index e519579b3fb..c2a26285870 100644 --- a/docs/0.55/appstate.html +++ b/docs/0.55/appstate.html @@ -133,7 +133,7 @@
      addEventListener(type, handler);
       

      Add a handler to AppState changes by listening to the change event type and providing the handler

      -

      TODO: now that AppState is a subclass of NativeEventEmitter, we could deprecate addEventListener and removeEventListener and just use addListener and listener.remove() directly. That will be a breaking change though, as both the method and event names are different (addListener events are currently required to be globally unique).

      +

      TODO: now that AppState is a subclass of NativeEventEmitter, we could deprecate addEventListener and removeEventListener and use addListener and listener.remove() directly. That will be a breaking change though, as both the method and event names are different (addListener events are currently required to be globally unique).


      removeEventListener()

      removeEventListener(type, handler);
      diff --git a/docs/0.55/appstate/index.html b/docs/0.55/appstate/index.html
      index e519579b3fb..c2a26285870 100644
      --- a/docs/0.55/appstate/index.html
      +++ b/docs/0.55/appstate/index.html
      @@ -133,7 +133,7 @@
       
      addEventListener(type, handler);
       

      Add a handler to AppState changes by listening to the change event type and providing the handler

      -

      TODO: now that AppState is a subclass of NativeEventEmitter, we could deprecate addEventListener and removeEventListener and just use addListener and listener.remove() directly. That will be a breaking change though, as both the method and event names are different (addListener events are currently required to be globally unique).

      +

      TODO: now that AppState is a subclass of NativeEventEmitter, we could deprecate addEventListener and removeEventListener and use addListener and listener.remove() directly. That will be a breaking change though, as both the method and event names are different (addListener events are currently required to be globally unique).


      removeEventListener()

      removeEventListener(type, handler);
      diff --git a/docs/0.55/easing.html b/docs/0.55/easing.html
      index 41dc9f84d68..466078eb39f 100644
      --- a/docs/0.55/easing.html
      +++ b/docs/0.55/easing.html
      @@ -73,10 +73,10 @@
       

      Predefined animations

      The Easing module provides several predefined animations through the following methods:

        -
      • back provides a simple animation where the object goes slightly back before moving forward
      • +
      • back provides an animation where the object goes slightly back before moving forward
      • bounce provides a bouncing animation
      • -
      • ease provides a simple inertial animation
      • -
      • elastic provides a simple spring interaction
      • +
      • ease provides an inertial animation
      • +
      • elastic provides a basic spring interaction

      Standard functions

      Three standard easing functions are provided:

      @@ -142,7 +142,7 @@

      ease()

      static ease(t)
       
      -

      A simple inertial interaction, similar to an object slowly accelerating to speed.

      +

      A basic inertial interaction, similar to an object slowly accelerating to speed.

      http://cubic-bezier.com/#.42,0,1,1


      quad()

      @@ -184,19 +184,19 @@

      elastic()

      static elastic(bounciness)
       
      -

      A simple elastic interaction, similar to a spring oscillating back and forth.

      +

      A basic elastic interaction, similar to a spring oscillating back and forth.

      Default bounciness is 1, which overshoots a little bit once. 0 bounciness doesn't overshoot at all, and bounciness of N > 1 will overshoot about N times.

      http://easings.net/#easeInElastic


      back()

      static back(s)
       
      -

      Use with Animated.parallel() to create a simple effect where the object animates back slightly as the animation starts.

      +

      Use with Animated.parallel() to create an effect where the object animates back slightly as the animation starts.


      bounce()

      static bounce(t)
       
      -

      Provides a simple bouncing effect.

      +

      Provides a bouncing effect.

      http://easings.net/#easeInBounce


      bezier()

      diff --git a/docs/0.55/easing/index.html b/docs/0.55/easing/index.html index 41dc9f84d68..466078eb39f 100644 --- a/docs/0.55/easing/index.html +++ b/docs/0.55/easing/index.html @@ -73,10 +73,10 @@

      Predefined animations

      The Easing module provides several predefined animations through the following methods:

        -
      • back provides a simple animation where the object goes slightly back before moving forward
      • +
      • back provides an animation where the object goes slightly back before moving forward
      • bounce provides a bouncing animation
      • -
      • ease provides a simple inertial animation
      • -
      • elastic provides a simple spring interaction
      • +
      • ease provides an inertial animation
      • +
      • elastic provides a basic spring interaction

      Standard functions

      Three standard easing functions are provided:

      @@ -142,7 +142,7 @@

      ease()

      static ease(t)
       
      -

      A simple inertial interaction, similar to an object slowly accelerating to speed.

      +

      A basic inertial interaction, similar to an object slowly accelerating to speed.

      http://cubic-bezier.com/#.42,0,1,1


      quad()

      @@ -184,19 +184,19 @@

      elastic()

      static elastic(bounciness)
       
      -

      A simple elastic interaction, similar to a spring oscillating back and forth.

      +

      A basic elastic interaction, similar to a spring oscillating back and forth.

      Default bounciness is 1, which overshoots a little bit once. 0 bounciness doesn't overshoot at all, and bounciness of N > 1 will overshoot about N times.

      http://easings.net/#easeInElastic


      back()

      static back(s)
       
      -

      Use with Animated.parallel() to create a simple effect where the object animates back slightly as the animation starts.

      +

      Use with Animated.parallel() to create an effect where the object animates back slightly as the animation starts.


      bounce()

      static bounce(t)
       
      -

      Provides a simple bouncing effect.

      +

      Provides a bouncing effect.

      http://easings.net/#easeInBounce


      bezier()

      diff --git a/docs/0.55/flatlist.html b/docs/0.55/flatlist.html index 5f15ec055e7..cd9350e1ae1 100644 --- a/docs/0.55/flatlist.html +++ b/docs/0.55/flatlist.html @@ -1,4 +1,4 @@ -FlatList · React Native
    Edit

    FlatList

    A performant interface for rendering simple, flat lists, supporting the most handy features:

    +
    Edit

    FlatList

    A performant interface for rendering painless flat lists, supporting the most handy features:

    • Fully cross-platform.
    • Optional horizontal mode.
    • @@ -231,7 +231,7 @@ class MultiSelectList extends React.PureComponent {

      data

      -

      For simplicity, data is just a plain array. If you want to use something else, like an immutable list, use the underlying VirtualizedList directly.

      +

      For simplicity, data is only a plain array. If you want to use something else, like an immutable list, use the underlying VirtualizedList directly.

      @@ -310,7 +310,7 @@ class MultiSelectList extends React.PureComponent {

      getItemLayout

      (data, index) => {length: number, offset: number, index: number}
       
      -

      getItemLayout is an optional optimization that let us skip measurement of dynamic content if you know the height of items a priori. getItemLayout is the most efficient, and is easy to use if you have fixed height items, for example:

      +

      getItemLayout is an optional optimization that let us skip measurement of dynamic content if you know the height of items a priori. getItemLayout is the most efficient, and is handy to use if you have fixed height items, for example:

        getItemLayout={(data, index) => (
           {length: ITEM_HEIGHT, offset: ITEM_HEIGHT * index, index}
         )}
      diff --git a/docs/0.55/flatlist/index.html b/docs/0.55/flatlist/index.html
      index 5f15ec055e7..cd9350e1ae1 100644
      --- a/docs/0.55/flatlist/index.html
      +++ b/docs/0.55/flatlist/index.html
      @@ -1,4 +1,4 @@
      -FlatList · React Native
      Edit

      FlatList

      A performant interface for rendering simple, flat lists, supporting the most handy features:

      +
      Edit

      FlatList

      A performant interface for rendering painless flat lists, supporting the most handy features:

      • Fully cross-platform.
      • Optional horizontal mode.
      • @@ -231,7 +231,7 @@ class MultiSelectList extends React.PureComponent {

      data

      -

      For simplicity, data is just a plain array. If you want to use something else, like an immutable list, use the underlying VirtualizedList directly.

      +

      For simplicity, data is only a plain array. If you want to use something else, like an immutable list, use the underlying VirtualizedList directly.

      TypeRequired
      @@ -310,7 +310,7 @@ class MultiSelectList extends React.PureComponent {

      getItemLayout

      (data, index) => {length: number, offset: number, index: number}
       
      -

      getItemLayout is an optional optimization that let us skip measurement of dynamic content if you know the height of items a priori. getItemLayout is the most efficient, and is easy to use if you have fixed height items, for example:

      +

      getItemLayout is an optional optimization that let us skip measurement of dynamic content if you know the height of items a priori. getItemLayout is the most efficient, and is handy to use if you have fixed height items, for example:

        getItemLayout={(data, index) => (
           {length: ITEM_HEIGHT, offset: ITEM_HEIGHT * index, index}
         )}
      diff --git a/docs/0.55/inputaccessoryview.html b/docs/0.55/inputaccessoryview.html
      index ae09d2153a7..361839aa5e0 100644
      --- a/docs/0.55/inputaccessoryview.html
      +++ b/docs/0.55/inputaccessoryview.html
      @@ -69,7 +69,7 @@
                     }
                   });
               
      Edit

      InputAccessoryView

      A component which enables customization of the keyboard input accessory view on iOS. The input accessory view is displayed above the keyboard whenever a TextInput has focus. This component can be used to create custom toolbars.

      -

      To use this component wrap your custom toolbar with the InputAccessoryView component, and set a nativeID. Then, pass that nativeID as the inputAccessoryViewID of whatever TextInput you desire. A simple example:

      +

      To use this component wrap your custom toolbar with the InputAccessoryView component, and set a nativeID. Then, pass that nativeID as the inputAccessoryViewID of whatever TextInput you desire. A quick example:

      Edit

      InputAccessoryView

      A component which enables customization of the keyboard input accessory view on iOS. The input accessory view is displayed above the keyboard whenever a TextInput has focus. This component can be used to create custom toolbars.

      -

      To use this component wrap your custom toolbar with the InputAccessoryView component, and set a nativeID. Then, pass that nativeID as the inputAccessoryViewID of whatever TextInput you desire. A simple example:

      +

      To use this component wrap your custom toolbar with the InputAccessoryView component, and set a nativeID. Then, pass that nativeID as the inputAccessoryViewID of whatever TextInput you desire. A quick example:

      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/yoga for more details on how position differs between React Native and CSS.

      diff --git a/docs/0.55/layout-props/index.html b/docs/0.55/layout-props/index.html index 53e03527282..c14a372a23c 100644 --- a/docs/0.55/layout-props/index.html +++ b/docs/0.55/layout-props/index.html @@ -668,9 +668,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/yoga for more details on how position differs between React Native and CSS.

      diff --git a/docs/0.55/modal.html b/docs/0.55/modal.html index 14dcdf4d452..fd4c26e98d0 100644 --- a/docs/0.55/modal.html +++ b/docs/0.55/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 quick 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.

      diff --git a/docs/0.55/modal/index.html b/docs/0.55/modal/index.html index 14dcdf4d452..fd4c26e98d0 100644 --- a/docs/0.55/modal/index.html +++ b/docs/0.55/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 quick 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.

      diff --git a/docs/0.55/sectionlist.html b/docs/0.55/sectionlist.html index 6ed9b186b40..1c726fa5562 100644 --- a/docs/0.55/sectionlist.html +++ b/docs/0.55/sectionlist.html @@ -82,7 +82,7 @@
    • Scroll loading.
    • If you don't need section support and want a simpler interface, use <FlatList>.

      -

      Simple Examples:

      +

      Quick Examples:

      // Example 1 (Homogeneous Rendering)
       <SectionList
         renderItem={({item, index, section}) => <Text key={index}>{item}</Text>}
      diff --git a/docs/0.55/sectionlist/index.html b/docs/0.55/sectionlist/index.html
      index 6ed9b186b40..1c726fa5562 100644
      --- a/docs/0.55/sectionlist/index.html
      +++ b/docs/0.55/sectionlist/index.html
      @@ -82,7 +82,7 @@
       
    • Scroll loading.
    • If you don't need section support and want a simpler interface, use <FlatList>.

      -

      Simple Examples:

      +

      Quick Examples:

      // Example 1 (Homogeneous Rendering)
       <SectionList
         renderItem={({item, index, section}) => <Text key={index}>{item}</Text>}
      diff --git a/docs/0.55/text.html b/docs/0.55/text.html
      index a2693127483..50ade202474 100644
      --- a/docs/0.55/text.html
      +++ b/docs/0.55/text.html
      @@ -199,7 +199,7 @@ AppRegistry.registerComponent('AwesomeProject', () => BlueIsCool);
       

      In order to use this feature, you must give the view a width and a height.

      Containers

      -

      The <Text> element is special relative to layout: everything inside is no longer using the flexbox layout but using text layout. This means that elements inside of a <Text> are no longer rectangles, but wrap when they see the end of the line.

      +

      The <Text> element is unique relative to layout: everything inside is no longer using the flexbox layout but using text layout. This means that elements inside of a <Text> are no longer rectangles, but wrap when they see the end of the line.

      <Text>
         <Text>First part and </Text>
         <Text>second part</Text>
      @@ -248,7 +248,7 @@ AppRegistry.registerComponent('AwesomeProject', () => BlueIsCool);
         <MyAppHeaderText>Text styled as a header</MyAppHeaderText>
       </View>
       
      -

      Assuming that MyAppText is a component that simply renders out its children into a Text component with styling, then MyAppHeaderText can be defined as follows:

      +

      Assuming that MyAppText is a component that renders out its children into a Text component with styling, then MyAppHeaderText can be defined as follows:

      class MyAppHeaderText extends Component {
         render() {
           <MyAppText>
      diff --git a/docs/0.55/text/index.html b/docs/0.55/text/index.html
      index a2693127483..50ade202474 100644
      --- a/docs/0.55/text/index.html
      +++ b/docs/0.55/text/index.html
      @@ -199,7 +199,7 @@ AppRegistry.registerComponent('AwesomeProject', () => BlueIsCool);
       

      In order to use this feature, you must give the view a width and a height.

      Containers

      -

      The <Text> element is special relative to layout: everything inside is no longer using the flexbox layout but using text layout. This means that elements inside of a <Text> are no longer rectangles, but wrap when they see the end of the line.

      +

      The <Text> element is unique relative to layout: everything inside is no longer using the flexbox layout but using text layout. This means that elements inside of a <Text> are no longer rectangles, but wrap when they see the end of the line.

      <Text>
         <Text>First part and </Text>
         <Text>second part</Text>
      @@ -248,7 +248,7 @@ AppRegistry.registerComponent('AwesomeProject', () => BlueIsCool);
         <MyAppHeaderText>Text styled as a header</MyAppHeaderText>
       </View>
       
      -

      Assuming that MyAppText is a component that simply renders out its children into a Text component with styling, then MyAppHeaderText can be defined as follows:

      +

      Assuming that MyAppText is a component that renders out its children into a Text component with styling, then MyAppHeaderText can be defined as follows:

      class MyAppHeaderText extends Component {
         render() {
           <MyAppText>
      diff --git a/docs/0.55/textinput.html b/docs/0.55/textinput.html
      index 528b56aed30..89e8164bb1e 100644
      --- a/docs/0.55/textinput.html
      +++ b/docs/0.55/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 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 quick 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 basic 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.

      @@ -819,7 +819,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 only setting the same value, either set editable={false}, or set/update maxLength to prevent unwanted edits without flicker.

      diff --git a/docs/0.55/textinput/index.html b/docs/0.55/textinput/index.html index 528b56aed30..89e8164bb1e 100644 --- a/docs/0.55/textinput/index.html +++ b/docs/0.55/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 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 quick 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 basic 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.

      @@ -819,7 +819,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 only setting the same value, either set editable={false}, or set/update maxLength to prevent unwanted edits without flicker.

      diff --git a/docs/0.55/view.html b/docs/0.55/view.html index 34c29bd805a..fef0621daae 100644 --- a/docs/0.55/view.html +++ b/docs/0.55/view.html @@ -387,7 +387,7 @@
      TypeRequired

      removeClippedSubviews

      -

      This is a special performance property exposed by RCTView and is useful for scrolling content when there are many subviews, most of which are offscreen. For this property to be effective, it must be applied to a view that contains many subviews that extend outside its bound. The subviews must also have overflow: hidden, as should the containing view (or one of its superviews).

      +

      This is a unique performance property exposed by RCTView and is useful for scrolling content when there are many subviews, most of which are offscreen. For this property to be effective, it must be applied to a view that contains many subviews that extend outside its bound. The subviews must also have overflow: hidden, as should the containing view (or one of its superviews).

      @@ -500,7 +500,7 @@

      renderToHardwareTextureAndroid

      Whether this View should render itself (and all of its children) into a single hardware texture on the GPU.

      -

      On Android, this is useful for animations and interactions that only modify opacity, rotation, translation, and/or scale: in those cases, the view doesn't have to be redrawn and display lists don't need to be re-executed. The texture can just be re-used and re-composited with different parameters. The downside is that this can use up limited video memory, so this prop should be set back to false at the end of the interaction/animation.

      +

      On Android, this is useful for animations and interactions that only modify opacity, rotation, translation, and/or scale: in those cases, the view doesn't have to be redrawn and display lists don't need to be re-executed. The texture can only be re-used and re-composited with different parameters. The downside is that this can use up limited video memory, so this prop should be set back to false at the end of the interaction/animation.

      TypeRequired
      diff --git a/docs/0.55/view/index.html b/docs/0.55/view/index.html index 34c29bd805a..fef0621daae 100644 --- a/docs/0.55/view/index.html +++ b/docs/0.55/view/index.html @@ -387,7 +387,7 @@
      TypeRequiredPlatform

      removeClippedSubviews

      -

      This is a special performance property exposed by RCTView and is useful for scrolling content when there are many subviews, most of which are offscreen. For this property to be effective, it must be applied to a view that contains many subviews that extend outside its bound. The subviews must also have overflow: hidden, as should the containing view (or one of its superviews).

      +

      This is a unique performance property exposed by RCTView and is useful for scrolling content when there are many subviews, most of which are offscreen. For this property to be effective, it must be applied to a view that contains many subviews that extend outside its bound. The subviews must also have overflow: hidden, as should the containing view (or one of its superviews).

      @@ -500,7 +500,7 @@

      renderToHardwareTextureAndroid

      Whether this View should render itself (and all of its children) into a single hardware texture on the GPU.

      -

      On Android, this is useful for animations and interactions that only modify opacity, rotation, translation, and/or scale: in those cases, the view doesn't have to be redrawn and display lists don't need to be re-executed. The texture can just be re-used and re-composited with different parameters. The downside is that this can use up limited video memory, so this prop should be set back to false at the end of the interaction/animation.

      +

      On Android, this is useful for animations and interactions that only modify opacity, rotation, translation, and/or scale: in those cases, the view doesn't have to be redrawn and display lists don't need to be re-executed. The texture can only be re-used and re-composited with different parameters. The downside is that this can use up limited video memory, so this prop should be set back to false at the end of the interaction/animation.

      TypeRequired
      diff --git a/docs/0.56/appstate.html b/docs/0.56/appstate.html index 02abbc86e6b..49715901a6d 100644 --- a/docs/0.56/appstate.html +++ b/docs/0.56/appstate.html @@ -133,7 +133,7 @@
      addEventListener(type, handler);
       

      Add a handler to AppState changes by listening to the change event type and providing the handler

      -

      TODO: now that AppState is a subclass of NativeEventEmitter, we could deprecate addEventListener and removeEventListener and just use addListener and listener.remove() directly. That will be a breaking change though, as both the method and event names are different (addListener events are currently required to be globally unique).

      +

      TODO: now that AppState is a subclass of NativeEventEmitter, we could deprecate addEventListener and removeEventListener and use addListener and listener.remove() directly. That will be a breaking change though, as both the method and event names are different (addListener events are currently required to be globally unique).


      removeEventListener()

      removeEventListener(type, handler);
      diff --git a/docs/0.56/appstate/index.html b/docs/0.56/appstate/index.html
      index 02abbc86e6b..49715901a6d 100644
      --- a/docs/0.56/appstate/index.html
      +++ b/docs/0.56/appstate/index.html
      @@ -133,7 +133,7 @@
       
      addEventListener(type, handler);
       

      Add a handler to AppState changes by listening to the change event type and providing the handler

      -

      TODO: now that AppState is a subclass of NativeEventEmitter, we could deprecate addEventListener and removeEventListener and just use addListener and listener.remove() directly. That will be a breaking change though, as both the method and event names are different (addListener events are currently required to be globally unique).

      +

      TODO: now that AppState is a subclass of NativeEventEmitter, we could deprecate addEventListener and removeEventListener and use addListener and listener.remove() directly. That will be a breaking change though, as both the method and event names are different (addListener events are currently required to be globally unique).


      removeEventListener()

      removeEventListener(type, handler);
      diff --git a/docs/0.56/easing.html b/docs/0.56/easing.html
      index d574a2ffbae..f752be8eb74 100644
      --- a/docs/0.56/easing.html
      +++ b/docs/0.56/easing.html
      @@ -73,10 +73,10 @@
       

      Predefined animations

      The Easing module provides several predefined animations through the following methods:

        -
      • back provides a simple animation where the object goes slightly back before moving forward
      • +
      • back provides an animation where the object goes slightly back before moving forward
      • bounce provides a bouncing animation
      • -
      • ease provides a simple inertial animation
      • -
      • elastic provides a simple spring interaction
      • +
      • ease provides an inertial animation
      • +
      • elastic provides a basic spring interaction

      Standard functions

      Three standard easing functions are provided:

      @@ -142,7 +142,7 @@

      ease()

      static ease(t)
       
      -

      A simple inertial interaction, similar to an object slowly accelerating to speed.

      +

      A basic inertial interaction, similar to an object slowly accelerating to speed.

      http://cubic-bezier.com/#.42,0,1,1


      quad()

      @@ -184,19 +184,19 @@

      elastic()

      static elastic(bounciness)
       
      -

      A simple elastic interaction, similar to a spring oscillating back and forth.

      +

      A basic elastic interaction, similar to a spring oscillating back and forth.

      Default bounciness is 1, which overshoots a little bit once. 0 bounciness doesn't overshoot at all, and bounciness of N > 1 will overshoot about N times.

      http://easings.net/#easeInElastic


      back()

      static back(s)
       
      -

      Use with Animated.parallel() to create a simple effect where the object animates back slightly as the animation starts.

      +

      Use with Animated.parallel() to create an effect where the object animates back slightly as the animation starts.


      bounce()

      static bounce(t)
       
      -

      Provides a simple bouncing effect.

      +

      Provides a bouncing effect.

      http://easings.net/#easeInBounce


      bezier()

      diff --git a/docs/0.56/easing/index.html b/docs/0.56/easing/index.html index d574a2ffbae..f752be8eb74 100644 --- a/docs/0.56/easing/index.html +++ b/docs/0.56/easing/index.html @@ -73,10 +73,10 @@

      Predefined animations

      The Easing module provides several predefined animations through the following methods:

        -
      • back provides a simple animation where the object goes slightly back before moving forward
      • +
      • back provides an animation where the object goes slightly back before moving forward
      • bounce provides a bouncing animation
      • -
      • ease provides a simple inertial animation
      • -
      • elastic provides a simple spring interaction
      • +
      • ease provides an inertial animation
      • +
      • elastic provides a basic spring interaction

      Standard functions

      Three standard easing functions are provided:

      @@ -142,7 +142,7 @@

      ease()

      static ease(t)
       
      -

      A simple inertial interaction, similar to an object slowly accelerating to speed.

      +

      A basic inertial interaction, similar to an object slowly accelerating to speed.

      http://cubic-bezier.com/#.42,0,1,1


      quad()

      @@ -184,19 +184,19 @@

      elastic()

      static elastic(bounciness)
       
      -

      A simple elastic interaction, similar to a spring oscillating back and forth.

      +

      A basic elastic interaction, similar to a spring oscillating back and forth.

      Default bounciness is 1, which overshoots a little bit once. 0 bounciness doesn't overshoot at all, and bounciness of N > 1 will overshoot about N times.

      http://easings.net/#easeInElastic


      back()

      static back(s)
       
      -

      Use with Animated.parallel() to create a simple effect where the object animates back slightly as the animation starts.

      +

      Use with Animated.parallel() to create an effect where the object animates back slightly as the animation starts.


      bounce()

      static bounce(t)
       
      -

      Provides a simple bouncing effect.

      +

      Provides a bouncing effect.

      http://easings.net/#easeInBounce


      bezier()

      diff --git a/docs/0.56/modal.html b/docs/0.56/modal.html index 4ea109c452c..5e691400401 100644 --- a/docs/0.56/modal.html +++ b/docs/0.56/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 quick 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.

      diff --git a/docs/0.56/modal/index.html b/docs/0.56/modal/index.html index 4ea109c452c..5e691400401 100644 --- a/docs/0.56/modal/index.html +++ b/docs/0.56/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 quick 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.

      diff --git a/docs/0.56/view.html b/docs/0.56/view.html index fc96cc125b5..2b8cc2a73e0 100644 --- a/docs/0.56/view.html +++ b/docs/0.56/view.html @@ -387,7 +387,7 @@
      TypeRequiredPlatform

      removeClippedSubviews

      -

      This is a special performance property exposed by RCTView and is useful for scrolling content when there are many subviews, most of which are offscreen. For this property to be effective, it must be applied to a view that contains many subviews that extend outside its bound. The subviews must also have overflow: hidden, as should the containing view (or one of its superviews).

      +

      This is a unique performance property exposed by RCTView and is useful for scrolling content when there are many subviews, most of which are offscreen. For this property to be effective, it must be applied to a view that contains many subviews that extend outside its bound. The subviews must also have overflow: hidden, as should the containing view (or one of its superviews).

      @@ -500,7 +500,7 @@

      renderToHardwareTextureAndroid

      Whether this View should render itself (and all of its children) into a single hardware texture on the GPU.

      -

      On Android, this is useful for animations and interactions that only modify opacity, rotation, translation, and/or scale: in those cases, the view doesn't have to be redrawn and display lists don't need to be re-executed. The texture can just be re-used and re-composited with different parameters. The downside is that this can use up limited video memory, so this prop should be set back to false at the end of the interaction/animation.

      +

      On Android, this is useful for animations and interactions that only modify opacity, rotation, translation, and/or scale: in those cases, the view doesn't have to be redrawn and display lists don't need to be re-executed. The texture can only be re-used and re-composited with different parameters. The downside is that this can use up limited video memory, so this prop should be set back to false at the end of the interaction/animation.

      TypeRequired
      diff --git a/docs/0.56/view/index.html b/docs/0.56/view/index.html index fc96cc125b5..2b8cc2a73e0 100644 --- a/docs/0.56/view/index.html +++ b/docs/0.56/view/index.html @@ -387,7 +387,7 @@
      TypeRequiredPlatform

      removeClippedSubviews

      -

      This is a special performance property exposed by RCTView and is useful for scrolling content when there are many subviews, most of which are offscreen. For this property to be effective, it must be applied to a view that contains many subviews that extend outside its bound. The subviews must also have overflow: hidden, as should the containing view (or one of its superviews).

      +

      This is a unique performance property exposed by RCTView and is useful for scrolling content when there are many subviews, most of which are offscreen. For this property to be effective, it must be applied to a view that contains many subviews that extend outside its bound. The subviews must also have overflow: hidden, as should the containing view (or one of its superviews).

      @@ -500,7 +500,7 @@

      renderToHardwareTextureAndroid

      Whether this View should render itself (and all of its children) into a single hardware texture on the GPU.

      -

      On Android, this is useful for animations and interactions that only modify opacity, rotation, translation, and/or scale: in those cases, the view doesn't have to be redrawn and display lists don't need to be re-executed. The texture can just be re-used and re-composited with different parameters. The downside is that this can use up limited video memory, so this prop should be set back to false at the end of the interaction/animation.

      +

      On Android, this is useful for animations and interactions that only modify opacity, rotation, translation, and/or scale: in those cases, the view doesn't have to be redrawn and display lists don't need to be re-executed. The texture can only be re-used and re-composited with different parameters. The downside is that this can use up limited video memory, so this prop should be set back to false at the end of the interaction/animation.

      TypeRequired
      diff --git a/docs/0.57/appstate.html b/docs/0.57/appstate.html index e5b18d63d48..de271352c66 100644 --- a/docs/0.57/appstate.html +++ b/docs/0.57/appstate.html @@ -133,7 +133,7 @@
      addEventListener(type, handler);
       

      Add a handler to AppState changes by listening to the change event type and providing the handler

      -

      TODO: now that AppState is a subclass of NativeEventEmitter, we could deprecate addEventListener and removeEventListener and just use addListener and listener.remove() directly. That will be a breaking change though, as both the method and event names are different (addListener events are currently required to be globally unique).

      +

      TODO: now that AppState is a subclass of NativeEventEmitter, we could deprecate addEventListener and removeEventListener and use addListener and listener.remove() directly. That will be a breaking change though, as both the method and event names are different (addListener events are currently required to be globally unique).


      removeEventListener()

      removeEventListener(type, handler);
      diff --git a/docs/0.57/appstate/index.html b/docs/0.57/appstate/index.html
      index e5b18d63d48..de271352c66 100644
      --- a/docs/0.57/appstate/index.html
      +++ b/docs/0.57/appstate/index.html
      @@ -133,7 +133,7 @@
       
      addEventListener(type, handler);
       

      Add a handler to AppState changes by listening to the change event type and providing the handler

      -

      TODO: now that AppState is a subclass of NativeEventEmitter, we could deprecate addEventListener and removeEventListener and just use addListener and listener.remove() directly. That will be a breaking change though, as both the method and event names are different (addListener events are currently required to be globally unique).

      +

      TODO: now that AppState is a subclass of NativeEventEmitter, we could deprecate addEventListener and removeEventListener and use addListener and listener.remove() directly. That will be a breaking change though, as both the method and event names are different (addListener events are currently required to be globally unique).


      removeEventListener()

      removeEventListener(type, handler);
      diff --git a/docs/0.57/easing.html b/docs/0.57/easing.html
      index 757f4b1604c..7e5472ed3fa 100644
      --- a/docs/0.57/easing.html
      +++ b/docs/0.57/easing.html
      @@ -73,10 +73,10 @@
       

      Predefined animations

      The Easing module provides several predefined animations through the following methods:

        -
      • back provides a simple animation where the object goes slightly back before moving forward
      • +
      • back provides an animation where the object goes slightly back before moving forward
      • bounce provides a bouncing animation
      • -
      • ease provides a simple inertial animation
      • -
      • elastic provides a simple spring interaction
      • +
      • ease provides an inertial animation
      • +
      • elastic provides a basic spring interaction

      Standard functions

      Three standard easing functions are provided:

      @@ -142,7 +142,7 @@

      ease()

      static ease(t)
       
      -

      A simple inertial interaction, similar to an object slowly accelerating to speed.

      +

      A basic inertial interaction, similar to an object slowly accelerating to speed.

      http://cubic-bezier.com/#.42,0,1,1


      quad()

      @@ -184,19 +184,19 @@

      elastic()

      static elastic(bounciness)
       
      -

      A simple elastic interaction, similar to a spring oscillating back and forth.

      +

      A basic elastic interaction, similar to a spring oscillating back and forth.

      Default bounciness is 1, which overshoots a little bit once. 0 bounciness doesn't overshoot at all, and bounciness of N > 1 will overshoot about N times.

      http://easings.net/#easeInElastic


      back()

      static back(s)
       
      -

      Use with Animated.parallel() to create a simple effect where the object animates back slightly as the animation starts.

      +

      Use with Animated.parallel() to create an effect where the object animates back slightly as the animation starts.


      bounce()

      static bounce(t)
       
      -

      Provides a simple bouncing effect.

      +

      Provides a bouncing effect.

      http://easings.net/#easeInBounce


      bezier()

      diff --git a/docs/0.57/easing/index.html b/docs/0.57/easing/index.html index 757f4b1604c..7e5472ed3fa 100644 --- a/docs/0.57/easing/index.html +++ b/docs/0.57/easing/index.html @@ -73,10 +73,10 @@

      Predefined animations

      The Easing module provides several predefined animations through the following methods:

        -
      • back provides a simple animation where the object goes slightly back before moving forward
      • +
      • back provides an animation where the object goes slightly back before moving forward
      • bounce provides a bouncing animation
      • -
      • ease provides a simple inertial animation
      • -
      • elastic provides a simple spring interaction
      • +
      • ease provides an inertial animation
      • +
      • elastic provides a basic spring interaction

      Standard functions

      Three standard easing functions are provided:

      @@ -142,7 +142,7 @@

      ease()

      static ease(t)
       
      -

      A simple inertial interaction, similar to an object slowly accelerating to speed.

      +

      A basic inertial interaction, similar to an object slowly accelerating to speed.

      http://cubic-bezier.com/#.42,0,1,1


      quad()

      @@ -184,19 +184,19 @@

      elastic()

      static elastic(bounciness)
       
      -

      A simple elastic interaction, similar to a spring oscillating back and forth.

      +

      A basic elastic interaction, similar to a spring oscillating back and forth.

      Default bounciness is 1, which overshoots a little bit once. 0 bounciness doesn't overshoot at all, and bounciness of N > 1 will overshoot about N times.

      http://easings.net/#easeInElastic


      back()

      static back(s)
       
      -

      Use with Animated.parallel() to create a simple effect where the object animates back slightly as the animation starts.

      +

      Use with Animated.parallel() to create an effect where the object animates back slightly as the animation starts.


      bounce()

      static bounce(t)
       
      -

      Provides a simple bouncing effect.

      +

      Provides a bouncing effect.

      http://easings.net/#easeInBounce


      bezier()

      diff --git a/docs/0.58/easing.html b/docs/0.58/easing.html index 61eddb408fd..06adf381422 100644 --- a/docs/0.58/easing.html +++ b/docs/0.58/easing.html @@ -73,10 +73,10 @@

      Predefined animations

      The Easing module provides several predefined animations through the following methods:

        -
      • back provides a simple animation where the object goes slightly back before moving forward
      • +
      • back provides an animation where the object goes slightly back before moving forward
      • bounce provides a bouncing animation
      • -
      • ease provides a simple inertial animation
      • -
      • elastic provides a simple spring interaction
      • +
      • ease provides an inertial animation
      • +
      • elastic provides a basic spring interaction

      Standard functions

      Three standard easing functions are provided:

      @@ -142,7 +142,7 @@

      ease()

      static ease(t)
       
      -

      A simple inertial interaction, similar to an object slowly accelerating to speed.

      +

      A basic inertial interaction, similar to an object slowly accelerating to speed.

      http://cubic-bezier.com/#.42,0,1,1


      quad()

      @@ -184,19 +184,19 @@

      elastic()

      static elastic(bounciness)
       
      -

      A simple elastic interaction, similar to a spring oscillating back and forth.

      +

      A basic elastic interaction, similar to a spring oscillating back and forth.

      Default bounciness is 1, which overshoots a little bit once. 0 bounciness doesn't overshoot at all, and bounciness of N > 1 will overshoot about N times.

      http://easings.net/#easeInElastic


      back()

      static back(s)
       
      -

      Use with Animated.parallel() to create a simple effect where the object animates back slightly as the animation starts.

      +

      Use with Animated.parallel() to create an effect where the object animates back slightly as the animation starts.


      bounce()

      static bounce(t)
       
      -

      Provides a simple bouncing effect.

      +

      Provides a bouncing effect.

      http://easings.net/#easeInBounce


      bezier()

      diff --git a/docs/0.58/easing/index.html b/docs/0.58/easing/index.html index 61eddb408fd..06adf381422 100644 --- a/docs/0.58/easing/index.html +++ b/docs/0.58/easing/index.html @@ -73,10 +73,10 @@

      Predefined animations

      The Easing module provides several predefined animations through the following methods:

        -
      • back provides a simple animation where the object goes slightly back before moving forward
      • +
      • back provides an animation where the object goes slightly back before moving forward
      • bounce provides a bouncing animation
      • -
      • ease provides a simple inertial animation
      • -
      • elastic provides a simple spring interaction
      • +
      • ease provides an inertial animation
      • +
      • elastic provides a basic spring interaction

      Standard functions

      Three standard easing functions are provided:

      @@ -142,7 +142,7 @@

      ease()

      static ease(t)
       
      -

      A simple inertial interaction, similar to an object slowly accelerating to speed.

      +

      A basic inertial interaction, similar to an object slowly accelerating to speed.

      http://cubic-bezier.com/#.42,0,1,1


      quad()

      @@ -184,19 +184,19 @@

      elastic()

      static elastic(bounciness)
       
      -

      A simple elastic interaction, similar to a spring oscillating back and forth.

      +

      A basic elastic interaction, similar to a spring oscillating back and forth.

      Default bounciness is 1, which overshoots a little bit once. 0 bounciness doesn't overshoot at all, and bounciness of N > 1 will overshoot about N times.

      http://easings.net/#easeInElastic


      back()

      static back(s)
       
      -

      Use with Animated.parallel() to create a simple effect where the object animates back slightly as the animation starts.

      +

      Use with Animated.parallel() to create an effect where the object animates back slightly as the animation starts.


      bounce()

      static bounce(t)
       
      -

      Provides a simple bouncing effect.

      +

      Provides a bouncing effect.

      http://easings.net/#easeInBounce


      bezier()

      diff --git a/docs/0.59/easing.html b/docs/0.59/easing.html index 865f7d9f617..0cbe3bb8476 100644 --- a/docs/0.59/easing.html +++ b/docs/0.59/easing.html @@ -73,10 +73,10 @@

      Predefined animations

      The Easing module provides several predefined animations through the following methods:

        -
      • back provides a simple animation where the object goes slightly back before moving forward
      • +
      • back provides an animation where the object goes slightly back before moving forward
      • bounce provides a bouncing animation
      • -
      • ease provides a simple inertial animation
      • -
      • elastic provides a simple spring interaction
      • +
      • ease provides an inertial animation
      • +
      • elastic provides a basic spring interaction

      Standard functions

      Three standard easing functions are provided:

      @@ -142,7 +142,7 @@

      ease()

      static ease(t)
       
      -

      A simple inertial interaction, similar to an object slowly accelerating to speed.

      +

      A basic inertial interaction, similar to an object slowly accelerating to speed.

      http://cubic-bezier.com/#.42,0,1,1


      quad()

      @@ -184,19 +184,19 @@

      elastic()

      static elastic(bounciness)
       
      -

      A simple elastic interaction, similar to a spring oscillating back and forth.

      +

      A basic elastic interaction, similar to a spring oscillating back and forth.

      Default bounciness is 1, which overshoots a little bit once. 0 bounciness doesn't overshoot at all, and bounciness of N > 1 will overshoot about N times.

      http://easings.net/#easeInElastic


      back()

      static back(s)
       
      -

      Use with Animated.parallel() to create a simple effect where the object animates back slightly as the animation starts.

      +

      Use with Animated.parallel() to create an effect where the object animates back slightly as the animation starts.


      bounce()

      static bounce(t)
       
      -

      Provides a simple bouncing effect.

      +

      Provides a bouncing effect.

      http://easings.net/#easeInBounce


      bezier()

      diff --git a/docs/0.59/easing/index.html b/docs/0.59/easing/index.html index 865f7d9f617..0cbe3bb8476 100644 --- a/docs/0.59/easing/index.html +++ b/docs/0.59/easing/index.html @@ -73,10 +73,10 @@

      Predefined animations

      The Easing module provides several predefined animations through the following methods:

        -
      • back provides a simple animation where the object goes slightly back before moving forward
      • +
      • back provides an animation where the object goes slightly back before moving forward
      • bounce provides a bouncing animation
      • -
      • ease provides a simple inertial animation
      • -
      • elastic provides a simple spring interaction
      • +
      • ease provides an inertial animation
      • +
      • elastic provides a basic spring interaction

      Standard functions

      Three standard easing functions are provided:

      @@ -142,7 +142,7 @@

      ease()

      static ease(t)
       
      -

      A simple inertial interaction, similar to an object slowly accelerating to speed.

      +

      A basic inertial interaction, similar to an object slowly accelerating to speed.

      http://cubic-bezier.com/#.42,0,1,1


      quad()

      @@ -184,19 +184,19 @@

      elastic()

      static elastic(bounciness)
       
      -

      A simple elastic interaction, similar to a spring oscillating back and forth.

      +

      A basic elastic interaction, similar to a spring oscillating back and forth.

      Default bounciness is 1, which overshoots a little bit once. 0 bounciness doesn't overshoot at all, and bounciness of N > 1 will overshoot about N times.

      http://easings.net/#easeInElastic


      back()

      static back(s)
       
      -

      Use with Animated.parallel() to create a simple effect where the object animates back slightly as the animation starts.

      +

      Use with Animated.parallel() to create an effect where the object animates back slightly as the animation starts.


      bounce()

      static bounce(t)
       
      -

      Provides a simple bouncing effect.

      +

      Provides a bouncing effect.

      http://easings.net/#easeInBounce


      bezier()

      TypeRequiredPlatform