Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ViewFastener<V, S, U>

Type parameters

Hierarchy

Callable

  • ViewFastener(): null | S
  • ViewFastener(view: null | S | U, targetView?: null | View): V
  • Returns null | S

  • Parameters

    • view: null | S | U
    • Optional targetView: null | View

    Returns V

Index

Properties

Optional child

child: boolean

Readonly constraintVariables

constraintVariables: readonly ConstraintVariable[]

Readonly constraints

constraints: readonly Constraint[]

fastenerFlags

fastenerFlags: number

Readonly key

key: undefined | string

Readonly name

name: string

Optional observe

observe: boolean

Readonly owner

owner: V

Readonly parentView

parentView: null | View

Optional Readonly type

type: ViewFactory<S, never>

Readonly view

view: null | S

Methods

activateConstraint

  • activateConstraint(constraint: Constraint): void
  • Parameters

    Returns void

activateConstraintVariable

  • Parameters

    Returns void

activateLayout

  • activateLayout(): void
  • Returns void

addConstraint

addConstraintVariable

attachView

  • attachView(newView: S): void
  • Parameters

    • newView: S

    Returns void

constraint

constraintVariable

createView

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

deactivateConstraint

  • deactivateConstraint(constraint: Constraint): void
  • Parameters

    Returns void

deactivateConstraintVariable

  • Parameters

    Returns void

deactivateLayout

  • deactivateLayout(): void
  • Returns void

detachView

  • detachView(oldView: S): void
  • Parameters

    • oldView: S

    Returns void

didMount

  • didMount(): void
  • Returns void

didSetView

  • didSetView(newView: null | S, oldView: null | S, targetView: null | View): void
  • Parameters

    • newView: null | S
    • oldView: null | S
    • targetView: null | View

    Returns void

didUnmount

  • didUnmount(): void
  • Returns void

doSetView

  • doSetView(newView: null | S, targetView: null | View): void
  • Parameters

    • newView: null | S
    • targetView: null | View

    Returns void

fromAny

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

    • value: S | U

    Returns null | S

getView

  • getView(): S
  • Returns S

hasConstraint

hasConstraintVariable

injectView

  • injectView(parentView?: null | View, childView?: null | S | U, targetView?: null | View, key?: null | string): null | S
  • Parameters

    • Optional parentView: null | View
    • Optional childView: null | S | U
    • Optional targetView: null | View
    • Optional key: null | string

    Returns null | S

insertView

  • insertView(parentView: View, childView: S, targetView: null | View, key: undefined | string): void
  • Parameters

    • parentView: View
    • childView: S
    • 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 | S, oldView: null | S, targetView: null | View): void
  • Parameters

    • newView: null | S
    • oldView: null | S
    • targetView: null | View

    Returns void

onUnmount

  • onUnmount(): void
  • Returns void

removeConstraint

removeConstraintVariable

removeView

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

setConstraintVariable

setFastenerFlags

  • setFastenerFlags(fastenerFlags: number): void
  • Parameters

    • fastenerFlags: number

    Returns void

setView

  • setView(newView: null | S | U, targetView?: null | View): null | S
  • Parameters

    • newView: null | S | U
    • Optional targetView: null | View

    Returns null | S

unmount

  • unmount(): void
  • Returns void

willMount

  • willMount(): void
  • Returns void

willSetView

  • willSetView(newView: null | S, oldView: null | S, targetView: null | View): void
  • Parameters

    • newView: null | S
    • oldView: null | S
    • targetView: null | View

    Returns void

willUnmount

  • willUnmount(): void
  • Returns void

Generated using TypeDoc