From dcf03a6d48a943456b8b18cafbc7f200e854f17f Mon Sep 17 00:00:00 2001
From: Travis CI StyleSheet).
@param {string} dim Name of dimension as defined when calling set.
+setting a value in a StyleSheet).
Example: var {height, width} = Dimensions.get('window');
@param {string} dim Name of dimension as defined when calling set.
@returns {Object?} Value for the dimension.
React view that supports a single scrollable child view (e.g. ScrollView). When this child
view is at scrollY: 0, swiping down triggers an onRefresh event.
The style {flex: 1} might be required to ensure the expected behavior of the child component
-(e.g. when the child is expected to scroll with ScrollView or ListView).
The colors (at least one) that will be used to draw the refresh indicator
Whether the pull to refresh functionality is enabled
The background color of the refresh indicator
Whether the view should be indicating an active refresh
Size of the refresh indicator, see PullToRefreshViewAndroid.SIZE
ScrollView or ListView).The colors (at least one) that will be used to draw the refresh indicator
Whether the pull to refresh functionality is enabled
The background color of the refresh indicator
Whether the view should be indicating an active refresh
Size of the refresh indicator, see PullToRefreshViewAndroid.SIZE
Experimental: When true, offscreen child views (whose overflow value is
hidden) are removed from their native backing superview when offscreen.
This can improve scrolling performance on long lists. The default value is
-true.
When true, shows a horizontal scroll indicator.
When true, shows a vertical scroll indicator.
When true, the scroll view bounces horizontally when it reaches the end +true.
When true, shows a horizontal scroll indicator.
When true, shows a vertical scroll indicator.
When true, the scroll view bounces horizontally when it reaches the end
even if the content is smaller than the scroll view itself. The default
value is true when horizontal={true} and false otherwise.
When true, the scroll view bounces vertically when it reaches the end
even if the content is smaller than the scroll view itself. The default
diff --git a/docs/switchios.html b/docs/switchios.html
index 87aa3dead49..77d4529e45b 100644
--- a/docs/switchios.html
+++ b/docs/switchios.html
@@ -3,7 +3,7 @@ a controlled component, so you must hook in to the onValueChange ca
and update the value prop in order for the component to update, otherwise
the user's change will be reverted immediately to reflect props.value as the
source of truth.
If true the user won't be able to toggle the switch. -Default value is false.
Background color when the switch is turned on.
Callback that is called when the user toggles the switch.
Background color for the switch round button.
Background color when the switch is turned off.
The value of the switch, if true the switch will be turned on. +Default value is false.
Background color when the switch is turned on.
Callback that is called when the user toggles the switch.
Background color for the switch round button.
Background color when the switch is turned off.
The value of the switch, if true the switch will be turned on. Default value is false.
Background color of the tab bar
Color of the currently selected tab icon
A Boolean value that indicates whether the tab bar is translucent
Background color of the tab bar
Color of the currently selected tab icon
A Boolean value that indicates whether the tab bar is translucent
Specifies should fonts scale to respect Text Size accessibility setting on iOS.
Used to truncate the text with an ellipsis after computing the text layout, including line wrapping, such that the total number of lines -does not exceed this number.
Invoked on mount and layout changes with
{nativeEvent: {layout: {x, y, width, height}}}
This function is called on press.
Used to locate this view in end-to-end tests.
When true, no visual change is made when text is pressed down. By +does not exceed this number.
Invoked on mount and layout changes with
{nativeEvent: {layout: {x, y, width, height}}}
This function is called on press.
Used to locate this view in end-to-end tests.
When true, no visual change is made when text is pressed down. By default, a gray oval highlights the text on press down.
In iOS, the way to display formatted text is by using NSAttributedString: you give the text that you want to display and annotate ranges with some specific formatting. In practice, this is very tedious. For React Native, we decided to use web paradigm for this where you can nest text to achieve the same effect.
{uri: 'http://...'}, you will be good.Example:
Sets possible actions on the toolbar as part of the action menu. These are displayed as icons or text on the right side of the widget. If they don't fit they are placed in an 'overflow' -menu.
This property takes an array of objects, where each object has the following keys:
title: required, the title of this actionicon: the icon for this action, e.g. require('image!some_icon')show: when to show this action as an icon or hide it in the overflow menu: always,
-ifRoom or nevershowWithText: boolean, whether to show text alongside the icon or notSets the toolbar logo.
Sets the navigation icon.
Callback that is called when an action is selected. The only argument that is passed to the +menu.
This property takes an array of objects, where each object has the following keys:
title: required, the title of this actionicon: the icon for this action, e.g. require('./some_icon.png')show: when to show this action as an icon or hide it in the overflow menu: always,
+ifRoom or nevershowWithText: boolean, whether to show text alongside the icon or notSets the content inset for the toolbar ending edge.
The content inset affects the valid area for Toolbar content other than +the navigation button and menu. Insets define the minimum margin for +these components and can be used to effectively align Toolbar content +along well-known gridlines.
Sets the content inset for the toolbar starting edge.
The content inset affects the valid area for Toolbar content other than +the navigation button and menu. Insets define the minimum margin for +these components and can be used to effectively align Toolbar content +along well-known gridlines.
Sets the toolbar logo.
Sets the navigation icon.
Callback that is called when an action is selected. The only argument that is passed to the callback is the position of the action in the actions array.
Callback called when the icon is selected.
Sets the overflow icon.
Used to set the toolbar direction to RTL. In addition to this property you need to add
android:supportsRtl="true"
to your application AndroidManifest.xml and then call
setLayoutDirection(LayoutDirection.RTL) in your MainActivity
-onCreate method.
Sets the toolbar subtitle.
Sets the toolbar subtitle color.
Used to locate this view in end-to-end tests.
Sets the toolbar title.
Sets the toolbar title color.
onCreate method.Sets the toolbar subtitle.
Sets the toolbar subtitle color.
Used to locate this view in end-to-end tests.
Sets the toolbar title.
Sets the toolbar title color.
NOTE: TouchableHighlight supports only one child
If you wish to have several child components, wrap them in a View.
Determines what the opacity of the wrapped view should be when touch is -active.
Called immediately after the underlay is hidden
Called immediately after the underlay is shown
The color of the underlay that will show through when the touch is +active.
Called immediately after the underlay is hidden
Called immediately after the underlay is shown
The color of the underlay that will show through when the touch is active.