From d94f3403d80ddf66ffb4fe5d448d3019761d9423 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Fri, 16 Oct 2015 10:56:22 +0000 Subject: [PATCH] update website --- docs/textinput.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/textinput.html b/docs/textinput.html index 175d95b08eb..9f9ab01e9ae 100644 --- a/docs/textinput.html +++ b/docs/textinput.html @@ -25,8 +25,7 @@ to events and updating the value prop to keep the controlled state in sync.

< - email-address

multiline bool #

If true, the text input can be multiple lines. The default value is false.

onBlur function #

Callback that is called when the text input is blurred

onChange function #

Callback that is called when the text input's text changes.

onChangeText function #

Callback that is called when the text input's text changes. Changed text is passed as an argument to the callback handler.

onEndEditing function #

Callback that is called when text input ends.

onFocus function #

Callback that is called when the text input is focused

onLayout function #

Invoked on mount and layout changes with {x, y, width, height}.

onSubmitEditing function #

Callback that is called when the text input's submit button is pressed.

placeholder string #

The string that will be rendered before text input has been entered

placeholderTextColor string #

The text color of the placeholder string

secureTextEntry bool #

If true, the text input obscures the text entered so that sensitive text -like passwords stay secure. The default value is false.

style Text#style #

Styles

testID string #

Used to locate this view in end-to-end tests

textAlign enum('start', 'center', 'end') #

Set the position of the cursor from where editing will begin. -@platorm android

value string #

The value to show for the text input. TextInput is a controlled +like passwords stay secure. The default value is false.

style Text#style #

Styles

testID string #

Used to locate this view in end-to-end tests

value string #

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 @@ -36,7 +35,7 @@ unwanted edits without flicker.

iosmaxLength number #

Limits the maximum number of characters that can be entered. Use this instead of implementing the logic in JS to avoid flicker.

androidnumberOfLines number #

Sets the number of lines for a TextInput. Use it with multiline set to true to be able to fill the lines.

iosreturnKeyType enum('default', 'go', 'google', 'join', 'next', 'route', 'search', 'send', 'yahoo', 'done', 'emergency-call') #

Determines how the return key should look.

iosselectTextOnFocus bool #

If true, all text will automatically be selected on focus

iosselectionState DocumentSelectionState #

See DocumentSelectionState.js, some state that is responsible for -maintaining selection information for a document

androidtextAlignVertical enum('top', 'center', 'bottom') #

Aligns text vertically within the TextInput.

androidunderlineColorAndroid string #

The color of the textInput underline.

Next →