Note: You are on the beta version of our docs. This is a work in progress and may contain broken links and pages.
Classes
ProxyViewContainer
ProxyViewContainer
Proxy view container that adds all its native children directly to the parent.
To be used as a logical grouping container of views.
Summary
Constructors
Methods
- _addViewToNativeVisualTree
- _changedLayoutProperty
- _eachLayoutView
- _getNativeViewsCount
- _parentChanged
- _registerLayoutChild
- _removeViewFromNativeVisualTree
- _setupUI
- _tearDownUI
- _unregisterLayoutChild
- createNativeView
112 methods inherited from LayoutBase
Click to expand
Constructors
constructor
new ProxyViewContainer(): ProxyViewContainer
Returns ProxyViewContainer
Accessors
android
Returns any
ios
Returns any
isLayoutRequested
Returns boolean
Methods
_addViewToNativeVisualTree
_addViewToNativeVisualTree(child: View, atIndex?: number): boolean
Parameter | Default | Description |
child |
| |
atIndex |
| number |
Returns boolean
_changedLayoutProperty
Layout property changed, proxy the new value to the child view(s)
Parameter | Default | Description |
propName |
| string |
value |
| string |
Returns void
_eachLayoutView
Parameter | Default | Description |
callback |
| (View: any) => void |
Returns void
_getNativeViewsCount
Returns number
_parentChanged
_parentChanged(oldParent: View): void
Parameter | Default | Description |
oldParent |
|
Returns void
_registerLayoutChild
_registerLayoutChild(child: View): void
Parameter | Default | Description |
child |
|
Returns void
_removeViewFromNativeVisualTree
_removeViewFromNativeVisualTree(child: View): void
Parameter | Default | Description |
child |
|
Returns void
_setupUI
Parameter | Default | Description |
context |
| any |
atIndex |
| number |
parentIsLoaded |
| boolean |
Returns void
_tearDownUI
Parameter | Default | Description |
force |
| boolean |
Returns void
_unregisterLayoutChild
_unregisterLayoutChild(child: View): void
Parameter | Default | Description |
child |
|
Returns void
createNativeView
Returns any