Interface ViewObserver<V>
Methods
Optional viewDidInsertChildView
- viewDidInsertChildView(childView: View, targetView: View | null | undefined, view: V): void
-
Parameters
-
childView: View
-
targetView: View | null | undefined
-
view: V
Returns void
Optional viewDidLayout
- viewDidLayout(view: V): void
Optional viewDidMount
- viewDidMount(view: V): void
Optional viewDidRemoveChildView
- viewDidRemoveChildView(childView: View, view: V): void
Optional viewDidResize
- viewDidResize(view: V): void
Optional viewDidScroll
- viewDidScroll(view: V): void
Optional viewDidSetKey
- viewDidSetKey(key: string | null, view: V): void
-
Parameters
-
key: string | null
-
view: V
Returns void
Optional viewDidSetParentView
- viewDidSetParentView(parentView: View | null, view: V): void
-
Parameters
-
parentView: View | null
-
view: V
Returns void
Optional viewDidUnmount
- viewDidUnmount(view: V): void
Optional viewWillInsertChildView
- viewWillInsertChildView(childView: View, targetView: View | null | undefined, view: V): void
-
Parameters
-
childView: View
-
targetView: View | null | undefined
-
view: V
Returns void
Optional viewWillLayout
- viewWillLayout(view: V): void
Optional viewWillMount
- viewWillMount(view: V): void
Optional viewWillRemoveChildView
- viewWillRemoveChildView(childView: View, view: V): void
Optional viewWillResize
- viewWillResize(view: V): void
Optional viewWillScroll
- viewWillScroll(view: V): void
Optional viewWillSetKey
- viewWillSetKey(key: string | null, view: V): void
-
Parameters
-
key: string | null
-
view: V
Returns void
Optional viewWillSetParentView
- viewWillSetParentView(parentView: View | null, view: V): void
-
Parameters
-
parentView: View | null
-
view: V
Returns void
Optional viewWillUnmount
- viewWillUnmount(view: V): void