Interface ComponentView<C, V, U>
Callable
- ComponentView(): null | V
- ComponentView(view: null | V | U, targetView?: null | View): C
-
Returns null | V
-
Parameters
-
view: null | V | U
-
Optional targetView: null | View
Returns C
Properties
fastenerFlags
fastenerFlags: number
Readonly key
key: undefined | string
Readonly name
name: string
Optional observe
observe: boolean
Readonly owner
owner: C
Optional Readonly type
Readonly view
view: null | V
Methods
attachView
- attachView(newView: V): void
-
Parameters
Returns void
createView
- createView(): null | V | U
-
Returns null | V | U
detachView
- detachView(oldView: V): void
-
Parameters
Returns void
didMount
-
Returns void
didSetView
- didSetView(newView: null | V, oldView: null | V, targetView: null | View): void
-
Parameters
-
newView: null | V
-
oldView: null | V
-
targetView: null | View
Returns void
didUnmount
-
Returns void
fromAny
- fromAny(value: V | U): null | V
-
Parameters
Returns null | V
getView
-
Returns V
injectView
- injectView(parentView: View, childView?: null | V | U, targetView?: null | View, key?: null | string): null | V
-
Parameters
-
parentView: View
-
Optional childView: null | V | U
-
Optional targetView: null | View
-
Optional key: null | string
Returns null | V
insertView
- insertView(parentView: View, childView: V, targetView: null | View, key: undefined | string): void
-
Parameters
-
parentView: View
-
childView: V
-
targetView: null | View
-
key: undefined | string
Returns void
isMounted
-
Returns boolean
mount
-
Returns void
onMount
-
Returns void
onSetView
- onSetView(newView: null | V, oldView: null | V, targetView: null | View): void
-
Parameters
-
newView: null | V
-
oldView: null | V
-
targetView: null | View
Returns void
onUnmount
-
Returns void
removeView
-
Returns null | V
setFastenerFlags
- setFastenerFlags(fastenerFlags: number): void
-
Parameters
Returns void
setView
- setView(newView: null | V | U, targetView?: null | View): null | V
-
Parameters
-
newView: null | V | U
-
Optional targetView: null | View
Returns null | V
unmount
-
Returns void
willMount
-
Returns void
willSetView
- willSetView(newView: null | V, oldView: null | V, targetView: null | View): void
-
Parameters
-
newView: null | V
-
oldView: null | V
-
targetView: null | View
Returns void
willUnmount
-
Returns void