diff --git a/releases/next/docs/animated.html b/releases/next/docs/animated.html index 29a81e2a79a..c316cac9821 100644 --- a/releases/next/docs/animated.html +++ b/releases/next/docs/animated.html @@ -91,7 +91,8 @@ then calls setValue on the mapped outputs. e.g.

: Animated.event([ null, // raw event arg ignored {dx: this._panX}, // gestureState arg - ]),

Config is an object that may have the following options:

static createAnimatedComponent(Component) #

Make any React component Animatable. Used to create Animated.View, etc.

Properties #

Value: [object Object] #

Standard value class for driving animations. Typically initialized with + ]),

Config is an object that may have the following options:

  • listener: Optional async listener.
  • useNativeDriver: Uses the native driver when true. Default false.

static createAnimatedComponent(Component) #

Make any React component Animatable. Used to create Animated.View, etc.

static attachNativeEvent(viewRef, eventName, argMapping) #

Imperative API to attach an animated value to an event on a view. Prefer using +Animated.event with useNativeDrive: true if possible.

Properties #

Value: [object Object] #

Standard value class for driving animations. Typically initialized with new Animated.Value(0);

See also AnimatedValue.

ValueXY: [object Object] #

2D value class for driving 2D animations, such as pan gestures.

See also AnimatedValueXY.

Interpolation: [object Object] #

exported to use the Interpolation type in flow

See also AnimatedInterpolation.

class AnimatedValue #

    Standard value for driving animations. One Animated.Value can drive multiple properties in a synchronized fashion, but can only be driven by one mechanism at a time. Using a new mechanism (e.g. starting a new animation, diff --git a/releases/next/docs/scrollview.html b/releases/next/docs/scrollview.html index a6526801e0b..3a3dd206355 100644 --- a/releases/next/docs/scrollview.html +++ b/releases/next/docs/scrollview.html @@ -10,7 +10,7 @@ view from becoming the responder.

    <ScrollView> vs

    This is where ListView comes into play. ListView renders items lazily, @@ -35,7 +35,8 @@ instead of vertically in a column. The default value is false.

keyboardShouldPersistTaps?: enum('always', 'never', 'handled', false, true) #

Determines when the keyboard should stay visible after a tap.

  • 'never' (the default), tapping outside of the focused text input when the keyboard is up dismisses the keyboard. When this happens, children won't receive the tap.
  • 'always', the keyboard will not dismiss automatically, and the scroll view will not catch taps, but children of the scroll view can catch taps.
  • 'handled', the keyboard will not dismiss automatically when the tap was handled by -a children, (or captured by an ancestor).
  • false, deprecated, use 'never' instead
  • true, deprecated, use 'always' instead

onContentSizeChange?: function #

Called when scrollable content view of the ScrollView changes.

Handler function is passed the content width and content height as parameters: (contentWidth, contentHeight)

It's implemented using onLayout handler attached to the content container +a children, (or captured by an ancestor).

  • false, deprecated, use 'never' instead
  • true, deprecated, use 'always' instead
  • onContentSizeChange?: function #

    Called when scrollable content view of the ScrollView changes.

    Handler function is passed the content width and content height as parameters: +(contentWidth, contentHeight)

    It's implemented using onLayout handler attached to the content container which this ScrollView renders.

    onScroll?: function #

    Fires at most once per frame during scrolling. The frequency of the events can be controlled using the scrollEventThrottle prop.

    pagingEnabled?: bool #

    When true, the scroll view stops on multiples of the scroll view's size when scrolling. This can be used for horizontal pagination. The default @@ -83,8 +84,8 @@ for UIScrollViewDecelerationRateNormal and - fast: 0.99

    iosdirectionalLockEnabled?: bool #

    When true, the ScrollView will try to lock to only vertical or horizontal scrolling while dragging. The default value is false.

    iosindicatorStyle?: enum('default', 'black', 'white') #

    The style of the scroll indicators. - default (the default), same as black. - - black, scroll indicator is black. This style is good against a white content background. - - white, scroll indicator is white. This style is good against a black content background.

    iosmaximumZoomScale?: number #

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

    iosminimumZoomScale?: number #

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

    iosonScrollAnimationEnd?: function #

    Called when a scrolling animation ends.

    iosscrollEventThrottle?: number #

    This controls how often the scroll event will be fired while scrolling + - black, scroll indicator is black. This style is good against a light background. + - white, scroll indicator is white. This style is good against a dark background.

    iosmaximumZoomScale?: number #

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

    iosminimumZoomScale?: number #

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

    iosonScrollAnimationEnd?: function #

    Called when a scrolling animation ends.

    iosscrollEventThrottle?: number #

    This controls how often the scroll event will be fired while scrolling (as a time interval in ms). A lower number yields better accuracy for code that is tracking the scroll position, but can lead to scroll performance problems due to the volume of information being send over the bridge. diff --git a/releases/next/docs/webview.html b/releases/next/docs/webview.html index 15df709a1ed..4b0ee36973d 100644 --- a/releases/next/docs/webview.html +++ b/releases/next/docs/webview.html @@ -14,7 +14,8 @@ class MyWeb extends Props #

    automaticallyAdjustContentInsets?: bool #

    Controls whether to adjust the content inset for web views that are placed behind a navigation bar, tab bar, or toolbar. The default value is true.

    contentInset?: {top: number, left: number, bottom: number, right: number} #

    The amount by which the web view content is inset from the edges of -the scroll view. Defaults to {top: 0, left: 0, bottom: 0, right: 0}.

    html?: string #

    Deprecated

    Use the source prop instead.

    injectedJavaScript?: string #

    Set this to provide JavaScript that will be injected into the web page +the scroll view. Defaults to {top: 0, left: 0, bottom: 0, right: 0}.

    html?: string #

    Deprecated

    Use the source prop instead.

    injectJavaScript?: function #

    Function that accepts a string that will be passed to the WebView and +executed immediately as JavaScript.

    injectedJavaScript?: string #

    Set this to provide JavaScript that will be injected into the web page when the view loads.

    mediaPlaybackRequiresUserAction?: bool #

    Boolean that determines whether HTML5 audio and video requires the user to tap them before they start playing. The default value is true.

    onError?: function #

    Function that is invoked when the WebView load fails.

    onLoad?: function #

    Function that is invoked when the WebView has finished loading.

    onLoadEnd?: function #

    Function that is invoked when the WebView load succeeds or fails.

    onLoadStart?: function #

    Function that is invoked when the WebView starts loading.

    onMessage?: function #

    A function that is invoked when the webview calls window.postMessage. Setting this property will inject a postMessage global into your