Module
ReactNative.Components.TextInput
- Package
- purescript-reactnative
- Repository
- doolse/purescript-reactnative
See TextInput
#TextInputRef Source
newtype TextInputRef
#TextInputProps Source
type TextInputProps eff = ViewPropsEx' eff TextInputRef (autoCapitalize :: AutoCapitalize, autoCorrect :: Boolean, autoFocus :: Boolean, blurOnSubmit :: Boolean, defaultValue :: String, editable :: Boolean, keyboardType :: KeyboardType, maxLength :: Int, multiline :: Boolean, onBlur :: EventHandler eff TextInputEvent, onChange :: EventHandler eff TextInputEvent, onChangeText :: EventHandler eff String, onContentSizeChange :: EventHandler eff ContentSizeEvent, onEndEditing :: EventHandler eff TextInputEvent, onFocus :: EventHandler eff TextInputEvent, onScroll :: EventHandler eff ScrollEvent, onSelectionChange :: EventHandler eff TextInputEvent, onSubmitEditing :: EventHandler eff TextInputEvent, placeholder :: String, placeholderTextColor :: Color, returnKeyType :: ReturnKeyType, secureTextEntry :: Boolean, selectTextOnFocus :: Boolean, selection :: { end :: Int, start :: Int }, selectionColor :: Color, value :: String) (inlineImageLeft :: String, inlineImagePadding :: Int, numberOfLines :: Int, returnKeyLabel :: String, underlineColorAndroid :: Color) (clearButtonMode :: ClearButtonMode, clearTextOnFocus :: Boolean, dataDetectorTypes :: DataDetectorType, enablesReturnKeyAutomatically :: Boolean, keyboardAppearance :: KeyboardAppearance, onKeyPress :: EventHandler eff TextInputEvent, selectionState :: DocumentSelectionState)
#textInput' Source
textInput' :: forall eff. Prop (TextInputProps eff) -> ReactElement
Create a TextInput with the given props
#isFocused Source
isFocused :: TextInputRef -> Boolean
See if TextInput is focussed for the given ref
#clear Source
clear :: forall eff. TextInputRef -> Eff eff Unit
Clear the value of the TextInput for the given ref
#DocumentSelectionState Source
data DocumentSelectionState :: Type
#KeyboardType Source
newtype KeyboardType
#keyboardType Source
keyboardType :: { asciiCapable :: KeyboardType, decimalPad :: KeyboardType, default :: KeyboardType, emailAddress :: KeyboardType, namePhonePad :: KeyboardType, numberPad :: KeyboardType, numbersAndPunctuation :: KeyboardType, numeric :: KeyboardType, phonePad :: KeyboardType, twitter :: KeyboardType, url :: KeyboardType, webSearch :: KeyboardType }
#AutoCapitalize Source
newtype AutoCapitalize
#autoCapitalize Source
autoCapitalize :: { characters :: AutoCapitalize, none :: AutoCapitalize, sentences :: AutoCapitalize, words :: AutoCapitalize }
#ReturnKeyType Source
newtype ReturnKeyType
#returnKeyType Source
returnKeyType :: { android :: { none :: ReturnKeyType, previous :: ReturnKeyType }, done :: ReturnKeyType, go :: ReturnKeyType, ios :: { default :: ReturnKeyType, emergencyCall :: ReturnKeyType, google :: ReturnKeyType, join :: ReturnKeyType, route :: ReturnKeyType, yahoo :: ReturnKeyType }, next :: ReturnKeyType, search :: ReturnKeyType, send :: ReturnKeyType }
#ClearButtonMode Source
newtype ClearButtonMode
#clearButtonMode Source
clearButtonMode :: { always :: ClearButtonMode, never :: ClearButtonMode, unlessEditing :: ClearButtonMode, whileEditing :: ClearButtonMode }
#KeyboardAppearance Source
newtype KeyboardAppearance
#keyboardAppearance Source
keyboardAppearance :: { dark :: KeyboardAppearance, default :: KeyboardAppearance, light :: KeyboardAppearance }
#DataDetectorType Source
newtype DataDetectorType
#dataDetectorType Source
dataDetectorType :: { address :: DataDetectorType, all :: DataDetectorType, calendarEvent :: DataDetectorType, link :: DataDetectorType, none :: DataDetectorType, phoneNumber :: DataDetectorType }
- Modules
- ReactNative.
API - ReactNative.
Android. API - ReactNative.
Android. Components - ReactNative.
Components - ReactNative.
Components. ActivityIndicator - ReactNative.
Components. Button - ReactNative.
Components. Image - ReactNative.
Components. ListView - ReactNative.
Components. Modal - ReactNative.
Components. NavigationExperimental - ReactNative.
Components. Navigator - ReactNative.
Components. NavigatorIOS - ReactNative.
Components. Picker - ReactNative.
Components. ScrollView - ReactNative.
Components. Slider - ReactNative.
Components. Switch - ReactNative.
Components. Text - ReactNative.
Components. TextInput - ReactNative.
Components. Touchable - ReactNative.
Components. TouchableNativeFeedback - ReactNative.
Components. View - ReactNative.
Events - ReactNative.
Internal. Undefinable - ReactNative.
Platform - ReactNative.
PropTypes - ReactNative.
PropTypes. Color - ReactNative.
Styles - ReactNative.
Styles. Flex - ReactNative.
Styles. Image - ReactNative.
Styles. Text - ReactNative.
Unsafe. ApplyProps - ReactNative.
Unsafe. Components