From 40dce004d0dd87da27107b3f221839bee232830c Mon Sep 17 00:00:00 2001 From: Travis CI Date: Fri, 6 Nov 2015 21:40:27 +0000 Subject: [PATCH] update website --- docs/textinput.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/textinput.html b/docs/textinput.html index 06a421b9df9..4095c5ce4d0 100644 --- a/docs/textinput.html +++ b/docs/textinput.html @@ -22,7 +22,8 @@ Useful for simple use-cases where you don't want to deal with listening to events and updating the value prop to keep the controlled state in sync.

editable bool #

If false, text is not editable. The default value is true.

keyboardType enum("default", 'numeric', 'email-address', "ascii-capable", 'numbers-and-punctuation', 'url', 'number-pad', 'phone-pad', 'name-phone-pad', 'decimal-pad', 'twitter', 'web-search') #

Determines which keyboard to open, e.g.numeric.

The following values work across platforms: - default - numeric -- email-address

multiline bool #

If true, the text input can be multiple lines. +- email-address

maxLength number #

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

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

value string #

The value to show for the text input. TextInput is a controlled @@ -33,8 +34,7 @@ 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.

iosblurOnSubmit bool #

If true, the text field will blur when submitted. The default value is true.

iosclearButtonMode enum('never', 'while-editing', 'unless-editing', 'always') #

When the clear button should appear on the right side of the text view

iosclearTextOnFocus bool #

If true, clears the text field automatically when editing begins

iosenablesReturnKeyAutomatically bool #

If true, the keyboard disables the return key when there is no text and -automatically enables it when there is text. The default value is false.

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 +automatically enables it when there is text. The default value is false.

androidnumberOfLines number #

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

iosonKeyPress function #

Callback that is called when a key is pressed. Pressed key value is passed as an argument to the callback handler. Fires before onChange callbacks.

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