From 5ffe791dcdfbf702b1d207a96921276ed01668b5 Mon Sep 17 00:00:00 2001 From: Website Deployment Script Date: Thu, 15 Sep 2016 05:07:51 +0000 Subject: [PATCH] Updated docs for next --- releases/next/docs/scrollview.html | 12 ++++++------ releases/next/docs/view.html | 4 +++- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/releases/next/docs/scrollview.html b/releases/next/docs/scrollview.html index aa7a3dff884..2d4f5d2c419 100644 --- a/releases/next/docs/scrollview.html +++ b/releases/next/docs/scrollview.html @@ -34,7 +34,11 @@ functionality for the ScrollView.

See hidden) are removed from their native backing superview when offscreen. This can improve scrolling performance on long lists. The default value is true.

scrollEnabled bool #

When false, the content does not scroll. -The default value is true.

showsHorizontalScrollIndicator bool #

When true, shows a horizontal scroll indicator.

showsVerticalScrollIndicator bool #

When true, shows a vertical scroll indicator.

style style #

backfaceVisibility ReactPropTypes.oneOf(['visible', 'hidden'])
backgroundColor color
borderBottomColor color
borderBottomLeftRadius ReactPropTypes.number
borderBottomRightRadius ReactPropTypes.number
borderBottomWidth ReactPropTypes.number
borderColor color
borderLeftColor color
borderLeftWidth ReactPropTypes.number
borderRadius ReactPropTypes.number
borderRightColor color
borderRightWidth ReactPropTypes.number
borderStyle ReactPropTypes.oneOf(['solid', 'dotted', 'dashed'])
borderTopColor color
borderTopLeftRadius ReactPropTypes.number
borderTopRightRadius ReactPropTypes.number
borderTopWidth ReactPropTypes.number
borderWidth ReactPropTypes.number
opacity ReactPropTypes.number
overflow ReactPropTypes.oneOf(['visible', 'hidden'])
androidelevation ReactPropTypes.number

(Android-only) Sets the elevation of a view, using Android's underlying +The default value is true.

showsHorizontalScrollIndicator bool #

When true, shows a horizontal scroll indicator.

showsVerticalScrollIndicator bool #

When true, shows a vertical scroll indicator.

stickyHeaderIndices [number] #

An array of child indices determining which children get docked to the +top of the screen when scrolling. For example, passing +stickyHeaderIndices={[0]} will cause the first child to be fixed to the +top of the scroll view. This property is not supported in conjunction +with horizontal={true}.

style style #

backfaceVisibility ReactPropTypes.oneOf(['visible', 'hidden'])
backgroundColor color
borderBottomColor color
borderBottomLeftRadius ReactPropTypes.number
borderBottomRightRadius ReactPropTypes.number
borderBottomWidth ReactPropTypes.number
borderColor color
borderLeftColor color
borderLeftWidth ReactPropTypes.number
borderRadius ReactPropTypes.number
borderRightColor color
borderRightWidth ReactPropTypes.number
borderStyle ReactPropTypes.oneOf(['solid', 'dotted', 'dashed'])
borderTopColor color
borderTopLeftRadius ReactPropTypes.number
borderTopRightRadius ReactPropTypes.number
borderTopWidth ReactPropTypes.number
borderWidth ReactPropTypes.number
opacity ReactPropTypes.number
overflow ReactPropTypes.oneOf(['visible', 'hidden'])
androidelevation ReactPropTypes.number

(Android-only) Sets the elevation of a view, using Android's underlying elevation API. This adds a drop shadow to the item and affects z-order for overlapping views. Only supported on Android 5.0+, has no effect on earlier versions.

androidendFillColor color #

Sometimes a scrollview takes up more space than its content fills. When this is @@ -88,11 +92,7 @@ of the snapping to the scroll view. - end will align the snap at the right (horizontal) or bottom (vertical)

iossnapToInterval number #

When set, causes the scroll view to stop at multiples of the value of snapToInterval. This can be used for paginating through children that have lengths smaller than the scroll view. Used in combination -with snapToAlignment.

iosstickyHeaderIndices [number] #

An array of child indices determining which children get docked to the -top of the screen when scrolling. For example, passing -stickyHeaderIndices={[0]} will cause the first child to be fixed to the -top of the scroll view. This property is not supported in conjunction -with horizontal={true}.

ioszoomScale number #

The current scale of the scroll view content. The default value is 1.0.

Methods #

scrollTo(y?, x?, animated?) #

Scrolls to a given x, y offset, either immediately or with a smooth animation.

Syntax:

scrollTo(options: {x: number = 0; y: number = 0; animated: boolean = true})

Note: The weird argument signature is due to the fact that, for historical reasons, +with snapToAlignment.

ioszoomScale number #

The current scale of the scroll view content. The default value is 1.0.

Methods #

scrollTo(y?, x?, animated?) #

Scrolls to a given x, y offset, either immediately or with a smooth animation.

Syntax:

scrollTo(options: {x: number = 0; y: number = 0; animated: boolean = true})

Note: The weird argument signature is due to the fact that, for historical reasons, the function also accepts separate arguments as as alternative to the options object. This is deprecated due to ambiguity (y before x), and SHOULD NOT BE USED.

scrollWithoutAnimationTo(y, x) #

Deprecated, do not use.

You can edit the content above on GitHub and send us a pull request!

Examples #

Edit on GitHub
'use strict'; diff --git a/releases/next/docs/view.html b/releases/next/docs/view.html index c0c908ea45e..ec29d988c84 100644 --- a/releases/next/docs/view.html +++ b/releases/next/docs/view.html @@ -88,7 +88,9 @@ Possible values:

  • 'none' - Accessibility servic for reference.

androidcollapsable PropTypes.bool #

Views that are only used to layout their children or otherwise don't draw anything may be automatically removed from the native hierarchy as an optimization. Set this property to false to disable this optimization and -ensure that this View exists in the native view hierarchy.

androidimportantForAccessibility PropTypes.oneOf([ +ensure that this View exists in the native view hierarchy.

androidcollapseChildren PropTypes.bool #

Same as collapsable but also applies to all of this view's children. +Setting this to false ensures that the all children exists in the native +view hierarchy.

androidimportantForAccessibility PropTypes.oneOf([ 'auto', 'yes', 'no',