Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ComponentView<C, V, U>

Type parameters

Hierarchy

  • ComponentView

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

Index

Properties

fastenerFlags

fastenerFlags: number

Readonly key

key: undefined | string

Readonly name

name: string

Optional observe

observe: boolean

Readonly owner

owner: C

Optional Readonly type

type: ViewFactory<V, never>

Readonly view

view: null | V

Methods

attachView

  • attachView(newView: V): void
  • Parameters

    • newView: V

    Returns void

createView

  • createView(): null | V | U
  • Returns null | V | U

detachView

  • detachView(oldView: V): void
  • Parameters

    • oldView: V

    Returns void

didMount

  • didMount(): void
  • 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

  • didUnmount(): void
  • Returns void

fromAny

  • fromAny(value: V | U): null | V
  • Parameters

    • value: V | U

    Returns null | V

getView

  • getView(): V
  • 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

  • isMounted(): boolean
  • Returns boolean

mount

  • mount(): void
  • Returns void

onMount

  • onMount(): void
  • 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

  • onUnmount(): void
  • Returns void

removeView

  • removeView(): null | V
  • Returns null | V

setFastenerFlags

  • setFastenerFlags(fastenerFlags: number): void
  • Parameters

    • fastenerFlags: number

    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

  • unmount(): void
  • Returns void

willMount

  • willMount(): void
  • 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

  • willUnmount(): void
  • Returns void

Generated using TypeDoc