πŸš€ 8.9 Released! β†’ ⚑️ New Node-API Engine Preview, πŸ“² ns widget ios, πŸ’… Tailwind v4 and more...
Read Announcement
EditableTextBase
Represents the base class for all editable text views.

Summary ​

Constructors

constructor

Properties

autocapitalizationType
autocorrect
autofillType
blurEvent
editable
focusEvent
hint
keyboardType
maxLength
returnKeyType
textChangeEvent
updateTextTrigger
valueFormatter
171 properties inherited from TextBase
Click to expand
_androidContentDescriptionUpdated
_automaticallyAdjustsScrollViewInsets
_closeModalCallback
_context
_cssState
_defaultPaddingBottom
_defaultPaddingLeft
_defaultPaddingRight
_defaultPaddingTop
_domId
_ignoreFlexMinWidthHeightReset
_isAddedToNativeVisualTree
_isLayoutValid
_isPaddingRelative
_isStyleScopeHost
_oldBottom
_oldLeft
_oldRight
_oldTop
_styleScope
_suspendNativeUpdatesCount
accessibilityBlurEvent
accessibilityFocusChangedEvent
accessibilityFocusEvent
accessibilityHidden
accessibilityHint
accessibilityIdentifier
accessibilityLabel
accessibilityLanguage
accessibilityLiveRegion
accessibilityMediaSession
accessibilityPerformEscapeEvent
accessibilityRole
accessibilityState
accessibilityValue
accessible
alignSelf
android
androidDynamicElevationOffset
androidElevation
automationText
background
backgroundColor
backgroundImage
bindingContext
borderBottomColor
borderBottomLeftRadius
borderBottomRightRadius
borderBottomWidth
borderColor
borderLeftColor
borderLeftWidth
borderRadius
borderRightColor
borderRightWidth
borderTopColor
borderTopLeftRadius
borderTopRightRadius
borderTopWidth
borderWidth
boxShadow
className
col
color
colSpan
column
columnSpan
createdEvent
cssClasses
cssPseudoClasses
cssType
disposeNativeViewEvent
dock
domNode
effectiveBorderBottomWidth
effectiveBorderLeftWidth
effectiveBorderRightWidth
effectiveBorderTopWidth
effectiveHeight
effectiveLeft
effectiveMarginBottom
effectiveMarginLeft
effectiveMarginRight
effectiveMarginTop
effectiveMinHeight
effectiveMinWidth
effectivePaddingBottom
effectivePaddingLeft
effectivePaddingRight
effectivePaddingTop
effectiveTop
effectiveWidth
flexGrow
flexShrink
flexWrapBefore
fontSize
formattedText
height
horizontalAlignment
id
ignoreTouchAnimation
ios
iosAccessibilityAdjustsFontSize
iosAccessibilityMaxFontScale
iosAccessibilityMinFontScale
iosIgnoreSafeArea
iosOverflowSafeArea
iosOverflowSafeAreaEnabled
isCollapsed
isEnabled
isLayoutValid
isUserInteractionEnabled
layoutChangedEvent
left
letterSpacing
lineHeight
loadedEvent
margin
marginBottom
marginLeft
marginRight
marginTop
maxLines
minHeight
minWidth
modal
nativeTextViewProtected
nativeViewProtected
opacity
order
originX
originY
padding
paddingBottom
paddingLeft
paddingRight
paddingTop
parent
perspective
propertyChangeEvent
recycleNativeView
reusable
rotate
rotateX
rotateY
row
rowSpan
scaleX
scaleY
sharedTransitionIgnore
sharedTransitionTag
showingModallyEvent
shownModallyEvent
testID
text
textAlignment
textDecoration
textShadow
textTransform
top
touchAnimation
touchDelay
transitionId
translateX
translateY
unloadedEvent
verticalAlignment
viewController
visibility
whiteSpace
width

Methods

dismissSoftInput
setSelection
112 methods inherited from TextBase
Click to expand
_addView
_addViewCore
_addViewToNativeVisualTree
_applyXmlAttribute
_batchUpdate
_childIndexToNativeChildIndex
_closeAllModalViewsInternal
_createPropertyChangeData
_dialogClosed
_eachLayoutView
_emit
_getNativeViewsCount
_getRootModalViews
_getValue
_handleLivesync
_hasAncestorView
_hideNativeModalView
_inheritStyleScope
_layoutParent
_observe
_onAttachedToWindow
_onDetachedFromWindow
_onRootViewReset
_onSizeChanged
_parentChanged
_raiseLayoutChangedEvent
_raiseShowingModallyEvent
_raiseShownModallyEvent
_removeView
_removeViewCore
_removeViewFromNativeVisualTree
_resumeNativeUpdates
_setupAsRootView
_setupUI
_setValue
_shouldDelayLayout
_showNativeModalView
_suspendNativeUpdates
_tearDownUI
_updateStyleScope
accessibilityAnnouncement
accessibilityScreenChanged
addEventListener
addEventListener
addPseudoClass
animate
bind
callLoaded
callUnloaded
closeModal
combineMeasuredStates
createAnimation
createNativeView
deletePseudoClass
destroyNode
disposeNativeView
eachChild
eachChildView
ensureDomNode
focus
get
getActualSize
getGestureObservers
getLocationInWindow
getLocationOnScreen
getLocationRelativeTo
getMeasuredHeight
getMeasuredState
getMeasuredWidth
getSafeAreaInsets
getViewByDomId
getViewById
hasGestureObservers
hasListeners
initNativeView
layout
layoutChild
layoutNativeView
loadView
measure
measureChild
notify
notifyPropertyChange
off
off
on
on
onBackPressed
once
once
onLayout
onLoaded
onMeasure
onResumeNativeUpdates
onUnloaded
removeEventListener
removeEventListener
requestLayout
resetNativeView
resolveSizeAndState
sendAccessibilityEvent
set
setInlineStyle
setMeasuredDimension
setNativeView
setOnTouchListener
setProperty
setTestID
showModal
toString
unbind
unloadView

Constructors ​

constructor ​

new EditableTextBase(): EditableTextBase 

Properties ​

autocapitalizationType ​

autocapitalizationType: AutocapitalizationInputType 
Gets or sets the autocapitalization type.

autocorrect ​

autocorrect: boolean
Enables or disables autocorrection.

autofillType ​

autofillType: string
Gets or sets the autofill type.

editable ​

editable: boolean
Gets or sets whether the instance is editable.

hint ​

hint: string
Gets or sets the placeholder text.

keyboardType ​

keyboardType: KeyboardInputType 
Gets or sets the soft keyboard type.

maxLength ​

maxLength: number
Limits input to a certain number of characters.

returnKeyType ​

returnKeyType: ReturnKeyButtonType 
Gets or sets the soft keyboard return key flavor.

updateTextTrigger ​

updateTextTrigger: UpdateTextTriggerType 
Gets or sets a value indicating when the text property will be updated.

valueFormatter ​

valueFormatter: (value:string) => string

blurEvent ​

Static

focusEvent ​

Static

textChangeEvent ​

Static

Methods ​

dismissSoftInput ​

dismissSoftInput(): void
Hides the soft input method, ususally a soft keyboard.
Returns void

setSelection ​

setSelection(start: number, stop?: number): any
Set the selection anchor to start and the selection edge to stop
Parameter Default Description
start
number
stop
number
Returns any
Previous
DockLayout

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /