Class
View
Summary
Constructors
Properties
- _androidContentDescriptionUpdated
- _currentHeightMeasureSpec
- _currentWidthMeasureSpec
- _gestureObservers
- _manager
- _modalParent
- accessibilityBlurEvent
- accessibilityFocusChangedEvent
- accessibilityFocusEvent
- accessibilityHidden
- accessibilityHint
- accessibilityIdentifier
- accessibilityLabel
- accessibilityLanguage
- accessibilityLiveRegion
- accessibilityMediaSession
- accessibilityRole
- accessibilityState
- accessibilityValue
- accessible
- android
- androidDynamicElevationOffset
- androidElevation
- automationText
- background
- backgroundColor
- backgroundImage
- bindingContext
- borderBottomColor
- borderBottomLeftRadius
- borderBottomRightRadius
- borderBottomWidth
- borderColor
- borderLeftColor
- borderLeftWidth
- borderRadius
- borderRightColor
- borderRightWidth
- borderTopColor
- borderTopLeftRadius
- borderTopRightRadius
- borderTopWidth
- borderWidth
- boxShadow
- color
- css
- cssClasses
- cssPseudoClasses
- cssType
- height
- horizontalAlignment
- ios
- iosIgnoreSafeArea
- iosOverflowSafeArea
- iosOverflowSafeAreaEnabled
- isEnabled
- isLayoutRequired
- isLayoutValid
- isUserInteractionEnabled
- layoutChangedEvent
- margin
- marginBottom
- marginLeft
- marginRight
- marginTop
- minHeight
- minWidth
- modal
- opacity
- originX
- originY
- perspective
- rotate
- rotateX
- rotateY
- scaleX
- scaleY
- showingModallyEvent
- shownModallyEvent
- translateX
- translateY
- verticalAlignment
- visibility
- width
80 properties inherited from ViewCommon
Click to expand
Methods
- _applyBackground
- _closeAllModalViewsInternal
- _eachLayoutView
- _getCurrentLayoutBounds
- _getFragmentManager
- _getNativeViewsCount
- _getRootModalViews
- _getValue
- _goToVisualState
- _handleLivesync
- _hasAncestorView
- _onAttachedToWindow
- _onDetachedFromWindow
- _onLivesync
- _onSizeChanged
- _redrawNativeBackground
- _removeAnimation
- _setCurrentLayoutBounds
- _setCurrentMeasureSpecs
- _setMinHeightNative
- _setMinWidthNative
- _setNativeClipToBounds
- _setNativeViewFrame
- _setValue
- _updateEffectiveLayoutValues
- _updateStyleScope
- accessibilityAnnouncement
- accessibilityScreenChanged
- addCss
- addCssFile
- animate
- changeCssFile
- combineMeasuredStates
- createAnimation
- eachChildView
- focus
- getActualSize
- getGestureObservers
- getLocationInWindow
- getLocationOnScreen
- getLocationRelativeTo
- getMeasuredHeight
- getMeasuredState
- getMeasuredWidth
- getSafeAreaInsets
- hasGestureObservers
- layout
- layoutChild
- layoutNativeView
- measure
- measureChild
- off
- on
- onBackPressed
- onLayout
- onMeasure
- resolveSizeAndState
- sendAccessibilityEvent
- setMeasuredDimension
- setOnTouchListener
66 methods inherited from ViewCommon
Click to expand
Constructors
constructor
new View(): View
Properties
_androidContentDescriptionUpdated
_currentHeightMeasureSpec
Private
_currentWidthMeasureSpec
Private
_gestureObservers
Private
_manager
Private
_modalParent
Private
_modalParent?: View
accessibilityHidden
accessibilityHidden: boolean
accessibilityHint
accessibilityIdentifier
accessibilityLabel
accessibilityLanguage
accessibilityLiveRegion
accessibilityLiveRegion: AccessibilityLiveRegion
accessibilityMediaSession
accessibilityRole
accessibilityRole: AccessibilityRole
accessibilityState
accessibilityState: AccessibilityState
accessibilityValue
accessible
android
androidDynamicElevationOffset
androidElevation
automationText
background
backgroundColor
backgroundColor: string | Color
backgroundImage
bindingContext
borderBottomColor
borderBottomColor: Color
borderBottomLeftRadius
borderBottomLeftRadius: LengthType
borderBottomRightRadius
borderBottomRightRadius: LengthType
borderBottomWidth
borderBottomWidth: LengthType
borderColor
borderColor: string | Color
borderLeftColor
borderLeftColor: Color
borderLeftWidth
borderLeftWidth: LengthType
borderRadius
borderRadius: string | number | LengthDipUnit | LengthPxUnit
borderRightColor
borderRightColor: Color
borderRightWidth
borderRightWidth: LengthType
borderTopColor
borderTopColor: Color
borderTopLeftRadius
borderTopLeftRadius: LengthType
borderTopRightRadius
borderTopRightRadius: LengthType
borderTopWidth
borderTopWidth: LengthType
borderWidth
borderWidth: string | number | LengthDipUnit | LengthPxUnit
boxShadow
color
color: Color
css
Private
cssClasses
cssPseudoClasses
cssType
height
height: PercentLengthType
horizontalAlignment
horizontalAlignment: HorizontalAlignmentType
ios
iosIgnoreSafeArea
iosOverflowSafeArea
iosOverflowSafeAreaEnabled
isEnabled
isLayoutRequired
Private
isLayoutValid
isUserInteractionEnabled
margin
margin: string | number | LengthDipUnit | LengthPxUnit | LengthPercentUnit
marginBottom
marginBottom: PercentLengthType
marginLeft
marginLeft: PercentLengthType
marginRight
marginRight: PercentLengthType
marginTop
marginTop: PercentLengthType
minHeight
minHeight: LengthType
minWidth
minWidth: LengthType
modal
modal: View
opacity
originX
originY
perspective
rotate
rotateX
rotateY
scaleX
scaleY
translateX
translateY
verticalAlignment
verticalAlignment: VerticalAlignmentType
visibility
visibility: VisibilityType
width
width: PercentLengthType
accessibilityBlurEvent
Static
accessibilityFocusChangedEvent
Static
accessibilityFocusEvent
Static
layoutChangedEvent
Static
showingModallyEvent
Static
shownModallyEvent
Static
Methods
_applyBackground
Private
_closeAllModalViewsInternal
_eachLayoutView
| Parameter | Default | Description |
callback | | (View: any) => void |
Returns void
_getCurrentLayoutBounds
Private
Returns {
bottom: number
left: number
right: number
}
_getFragmentManager
Private
Returns any
_getNativeViewsCount
Returns number
_getRootModalViews
_getRootModalViews(): ViewBase[]
_getValue
| Parameter | Default | Description |
property | | any |
Returns never
_goToVisualState
Private
| Parameter | Default | Description |
state | | string |
Returns any
_handleLivesync
| Parameter | Default | Description |
context | | {
path: string
} |
Returns boolean
_hasAncestorView
_hasAncestorView(ancestorView: View): boolean
| Parameter | Default | Description |
ancestorView | |
Returns boolean
_onAttachedToWindow
_onDetachedFromWindow
_onLivesync
Private
| Parameter | Default | Description |
context | | {
path: string
} |
Returns boolean
_onSizeChanged
_redrawNativeBackground
Private
| Parameter | Default | Description |
value | | any |
Returns void
_removeAnimation
Private
_removeAnimation(animation: Animation): boolean
| Parameter | Default | Description |
animation | |
Returns boolean
_setCurrentLayoutBounds
Private
_setCurrentMeasureSpecs
Private
| Parameter | Default | Description |
widthMeasureSpec | | number |
heightMeasureSpec | | number |
Returns boolean
_setMinHeightNative
Private
_setMinHeightNative(value: LengthType): void
| Parameter | Default | Description |
value | |
Returns void
_setMinWidthNative
Private
_setMinWidthNative(value: LengthType): void
| Parameter | Default | Description |
value | |
Returns void
_setNativeClipToBounds
Private
Returns void
_setNativeViewFrame
Private
| Parameter | Default | Description |
nativeView | | any |
frame | | any |
Returns void
_setValue
| Parameter | Default | Description |
property | | any |
value | | any |
Returns never
_updateEffectiveLayoutValues
Private
_updateEffectiveLayoutValues( parentWidthMeasureSize: number, parentWidthMeasureMode: number, parentHeightMeasureSize: number, parentHeightMeasureMode: number ): void
| Parameter | Default | Description |
parentWidthMeasureSize | | number |
parentWidthMeasureMode | | number |
parentHeightMeasureSize | | number |
parentHeightMeasureMode | | number |
Returns void
_updateStyleScope
| Parameter | Default | Description |
cssFileName | | string |
cssString | | string |
css | | string |
Returns void
accessibilityAnnouncement
| Parameter | Default | Description |
msg | | string |
Returns void
accessibilityScreenChanged
addCss
Private
| Parameter | Default | Description |
cssString | | string |
Returns void
addCssFile
Private
| Parameter | Default | Description |
cssFileName | | string |
Returns void
animate
animate(options: AnimationDefinition): AnimationPromise
| Parameter | Default | Description |
options | |
Returns AnimationPromise
changeCssFile
Private
| Parameter | Default | Description |
cssFileName | | string |
Returns void
createAnimation
createAnimation(options: AnimationDefinition): Animation
eachChildView
focus
getActualSize
getActualSize(): Size
getGestureObservers
getGestureObservers(type: GestureTypes): GesturesObserver[]
| Parameter | Default | Description |
type | |
Returns GesturesObserver[]
getLocationInWindow
getLocationOnScreen
getLocationRelativeTo
getLocationRelativeTo(otherView: View): Point
| Parameter | Default | Description |
otherView | |
Returns Point
getMeasuredHeight
getMeasuredState
Returns number
getMeasuredWidth
getSafeAreaInsets
Returns {
bottom: any
left: any
right: any
}
hasGestureObservers
layout
| Parameter | Default | Description |
left | | number |
top | | number |
right | | number |
bottom | | number |
setFrame | | boolean |
Returns void
layoutNativeView
| Parameter | Default | Description |
left | | number |
top | | number |
right | | number |
bottom | | number |
Returns void
measure
| Parameter | Default | Description |
widthMeasureSpec | | number |
heightMeasureSpec | | number |
Returns void
off
off(eventNames: string | GestureTypes, callback?: (args: EventData) => void, thisArg?: any): any
| Parameter | Default | Description |
eventNames | | string | GestureTypes |
callback | | (args: EventData) => void |
thisArg | | any |
Returns any
on
on(eventNames: string | GestureTypes, callback: (args: EventData) => void, thisArg?: any): any
| Parameter | Default | Description |
eventNames | | string | GestureTypes |
callback | | (args: EventData) => void |
thisArg | | any |
Returns any
on(event: "loaded", callback: (args: EventData) => void, thisArg?: any): any
on(event: "unloaded", callback: (args: EventData) => void, thisArg?: any): any
| Parameter | Default | Description |
event | | "unloaded" |
callback | | (args: EventData) => void |
thisArg | | any |
Returns any
on(event: "androidBackPressed", callback: (args: EventData) => void, thisArg?: any): any
| Parameter | Default | Description |
event | | "androidBackPressed" |
callback | | (args: EventData) => void |
thisArg | | any |
Returns any
on(event: "showingModally", callback: (args: ShownModallyData) => void, thisArg?: any): void
| Parameter | Default | Description |
event | | "showingModally" |
callback | | (args: ShownModallyData) => void |
thisArg | | any |
Returns void
on(event: "shownModally", callback: (args: ShownModallyData) => void, thisArg?: any): any
| Parameter | Default | Description |
event | | "shownModally" |
callback | | (args: ShownModallyData) => void |
thisArg | | any |
Returns any
onBackPressed
onLayout
| Parameter | Default | Description |
left | | number |
top | | number |
right | | number |
bottom | | number |
Returns void
onMeasure
| Parameter | Default | Description |
widthMeasureSpec | | number |
heightMeasureSpec | | number |
Returns void
sendAccessibilityEvent
| Parameter | Default | Description |
options | | Partial<AccessibilityEventOptions> |
Returns void
setMeasuredDimension
| Parameter | Default | Description |
measuredWidth | | number |
measuredHeight | | number |
Returns void
setOnTouchListener
combineMeasuredStates
Static
| Parameter | Default | Description |
curState | | number |
newState | | any |
Returns number
layoutChild
Static
measureChild
Static
- Previous
- Transition
- Next
- ViewBase