Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DeckViewController<V>

Type parameters

Hierarchy

Implements

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

Readonly view

view: null | V

Accessors

childViewControllers

  • Returns readonly (null | ViewController<View>)[]

childViewCount

  • get childViewCount(): number
  • Returns number

childViews

  • get childViews(): readonly View[]
  • Returns readonly View[]

key

  • get key(): undefined | string
  • Returns undefined | string

node

  • Returns null | ViewNodeType<V>

parentView

  • get parentView(): null | View
  • Returns null | View

parentViewController

  • Returns null | ViewController<View>

viewContext

  • Returns ViewContext

viewIdiom

  • Returns ViewIdiom

viewport

  • Returns Viewport

Methods

appendChildNode

  • appendChildNode(childNode: Node, key?: string): void
  • Parameters

    • childNode: Node
    • Optional key: string

    Returns void

appendChildView

  • appendChildView(childView: View, key?: string): void
  • Parameters

    • childView: View
    • Optional key: string

    Returns void

appendChildViewController

  • appendChildViewController(childViewController: ViewController<View>, key?: string): void

deckDidPopCard

  • deckDidPopCard(newCardView: null | DeckCard, oldCardView: DeckCard, view: V): void

deckDidPressBackButton

  • deckDidPressBackButton(event: null | Event, view: V): void
  • Parameters

    • event: null | Event
    • view: V

    Returns void

deckDidPressCloseButton

  • deckDidPressCloseButton(event: null | Event, view: V): void
  • Parameters

    • event: null | Event
    • view: V

    Returns void

deckDidPushCard

  • deckDidPushCard(newCardView: DeckCard, oldCardView: null | DeckCard, view: V): void

deckWillPopCard

  • deckWillPopCard(newCardView: null | DeckCard, oldCardView: DeckCard, view: V): void

deckWillPushCard

  • deckWillPushCard(newCardView: DeckCard, oldCardView: null | DeckCard, view: V): void

Protected didSetView

  • didSetView(view: null | V): void
  • Parameters

    • view: null | V

    Returns void

getBaseView

  • getBaseView<V>(viewClass: ViewClass<V>): null | V

getChildView

  • getChildView(key: string): null | View
  • Parameters

    • key: string

    Returns null | View

getChildViewController

getSuperView

  • getSuperView<V>(viewClass: ViewClass<V>): null | V

insertChildNode

  • insertChildNode(childNode: Node, targetNode: null | Node, key?: string): void
  • Parameters

    • childNode: Node
    • targetNode: null | Node
    • Optional key: string

    Returns void

insertChildView

  • insertChildView(childView: View, targetView: null | View, key?: string): void
  • Parameters

    • childView: View
    • targetView: null | View
    • Optional key: string

    Returns void

insertChildViewController

isCulled

  • isCulled(): boolean
  • Returns boolean

isDisplaying

  • isDisplaying(): boolean

isMounted

  • isMounted(): boolean
  • Returns boolean

isPowered

  • isPowered(): boolean
  • Returns boolean

isProcessing

  • isProcessing(): boolean

isTraversing

  • isTraversing(): boolean

isUpdating

  • isUpdating(): boolean
  • Returns boolean

Protected onSetView

  • onSetView(view: null | V): void
  • Parameters

    • view: null | V

    Returns void

prependChildNode

  • prependChildNode(childNode: Node, key?: string): void
  • Parameters

    • childNode: Node
    • Optional key: string

    Returns void

prependChildView

  • prependChildView(childView: View, key?: string): void
  • Parameters

    • childView: View
    • Optional key: string

    Returns void

prependChildViewController

  • prependChildViewController(childViewController: ViewController<View>, key?: string): void

remove

  • remove(): void
  • Returns void

removeAll

  • removeAll(): void
  • Returns void

removeChildNode

  • removeChildNode(childNode: Node): void
  • Parameters

    • childNode: Node

    Returns void

removeChildView

  • removeChildView(key: string): null | View
  • removeChildView(childView: View): void

removeChildViewController

setChildView

  • setChildView(key: string, newChildView: null | View): null | View
  • Parameters

    • key: string
    • newChildView: null | View

    Returns null | View

setChildViewController

setView

  • setView(view: null | V): void
  • Parameters

    • view: null | V

    Returns void

viewDidAnimate

viewDidApplyTheme

viewDidChange

viewDidComposite

viewDidCull

  • viewDidCull(view: V): void

viewDidInsertChildNode

  • viewDidInsertChildNode(childNode: Node, targetNode: null | Node, view: V): void

viewDidInsertChildView

  • viewDidInsertChildView(childView: View, targetView: null | View, view: V): void

viewDidLayout

viewDidMount

  • viewDidMount(view: V): void

viewDidPower

  • viewDidPower(view: V): void

viewDidProject

viewDidRasterize

viewDidRemoveChildNode

  • viewDidRemoveChildNode(childNode: Node, view: V): void

viewDidRemoveChildView

  • viewDidRemoveChildView(childView: View, view: V): void

viewDidRender

viewDidResize

viewDidScroll

viewDidSetAttribute

  • viewDidSetAttribute(name: string, value: unknown, view: V): void

viewDidSetParentView

  • viewDidSetParentView(newParentView: null | View, oldParentView: null | View, view: V): void

viewDidSetStyle

  • viewDidSetStyle(name: string, value: unknown, priority: undefined | string, view: V): void

viewDidUncull

  • viewDidUncull(view: V): void

viewDidUnmount

  • viewDidUnmount(view: V): void

viewDidUnpower

  • viewDidUnpower(view: V): void

viewWillAnimate

viewWillApplyTheme

viewWillChange

viewWillComposite

viewWillCull

  • viewWillCull(view: V): void

viewWillInsertChildNode

  • viewWillInsertChildNode(childNode: Node, targetNode: null | Node, view: V): void

viewWillInsertChildView

  • viewWillInsertChildView(childView: View, targetView: null | View, view: V): void

viewWillLayout

viewWillMount

  • viewWillMount(view: V): void

viewWillPower

  • viewWillPower(view: V): void

viewWillProject

viewWillRasterize

viewWillRemoveChildNode

  • viewWillRemoveChildNode(childNode: Node, view: V): void

viewWillRemoveChildView

  • viewWillRemoveChildView(childView: View, view: V): void

viewWillRender

viewWillResize

viewWillScroll

viewWillSetAttribute

  • viewWillSetAttribute(name: string, value: unknown, view: V): void

viewWillSetParentView

  • viewWillSetParentView(newParentView: null | View, oldParentView: null | View, view: V): void

viewWillSetStyle

  • viewWillSetStyle(name: string, value: unknown, priority: undefined | string, view: V): void

viewWillUncull

  • viewWillUncull(view: V): void

viewWillUnmount

  • viewWillUnmount(view: V): void

viewWillUnpower

  • viewWillUnpower(view: V): void

Protected willSetView

  • willSetView(view: null | V): void
  • Parameters

    • view: null | V

    Returns void

Generated using TypeDoc