Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NodeView

Hierarchy

Implements

  • AnimatedView

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

Static NeedsAnimate

NeedsAnimate: number = 1 << 1

Static NeedsCompute

NeedsCompute: number = 1 << 0

Static NeedsLayout

NeedsLayout: number = 1 << 2

Static NeedsRender

NeedsRender: number = 1 << 4

Static NeedsScroll

NeedsScroll: number = 1 << 3

Static UpdateFlagsMask

UpdateFlagsMask: number = (1 << 5) - 1

Accessors

appView

childViews

  • get childViews(): ReadonlyArray<View>

clientBounds

  • get clientBounds(): BoxR2

clientTransform

node

pageBounds

  • get pageBounds(): BoxR2

pageTransform

parentTransform

parentView

  • get parentView(): View | null

popoverBounds

  • get popoverBounds(): BoxR2

updateTime

  • get updateTime(): number

viewController

viewIdiom

viewObservers

viewport

Methods

addViewObserver

animate

appendChild

appendChildNode

  • appendChildNode(childNode: Node): void

appendChildView

  • appendChildView(childView: View): void

cascadeMount

  • cascadeMount(): void

cascadeUnmount

  • cascadeUnmount(): void

cascadeUpdate

  • cascadeUpdate(updateFlags: number, viewContext: ViewContext): void

childViewContext

Protected didAddViewObserver

Protected didAnimate

Protected didCompute

Protected didInsertChildNode

  • didInsertChildNode(childNode: Node, targetNode: Node | null): void

Protected didInsertChildView

  • didInsertChildView(childView: View, targetView: View | null | undefined): void

Protected didLayout

Protected didMount

  • didMount(): void

Protected didObserve

  • didObserve(callback: (this: this, viewObserver: ViewObserver) => void): void

Protected didRemoveChildNode

  • didRemoveChildNode(childNode: Node): void

Protected didRemoveChildView

  • didRemoveChildView(childView: View): void

Protected didRemoveViewObserver

Protected didScroll

Protected didSetKey

  • didSetKey(key: string | null): void

Protected didSetParentView

  • didSetParentView(parentView: View | null): void

Protected didSetViewController

Protected didUnmount

  • didUnmount(): void

Protected didUpdate

dispatchEvent

  • dispatchEvent(event: Event): boolean

getChildView

  • getChildView(key: string): View | null

Protected initNode

insertChild

insertChildNode

  • insertChildNode(childNode: Node, targetNode: Node | null): void

insertChildView

  • insertChildView(childView: View, targetView: View | null): void

isMounted

  • isMounted(): boolean

isVisible

  • isVisible(): boolean

key

  • key(): string | null
  • key(key: string | null): this

needsUpdate

  • needsUpdate(updateFlags: number, viewContext: ViewContext): number

off

  • off(type: string, listener: EventListenerOrEventListenerObject, options?: EventListenerOptions | boolean): this

on

  • on(type: string, listener: EventListenerOrEventListenerObject, options?: AddEventListenerOptions | boolean): this

Protected onAddViewObserver

Protected onAnimate

Protected onCompute

Protected onInsertChildNode

  • onInsertChildNode(childNode: Node, targetNode: Node | null): void

Protected onInsertChildView

  • onInsertChildView(childView: View, targetView: View | null | undefined): void

Protected onLayout

Protected onMount

  • onMount(): void

Protected onRemoveChildNode

  • onRemoveChildNode(childNode: Node): void

Protected onRemoveChildView

  • onRemoveChildView(childView: View): void

Protected onRemoveViewObserver

Protected onScroll

Protected onSetKey

  • onSetKey(key: string | null): void

Protected onSetParentView

  • onSetParentView(parentView: View | null): void

Protected onSetViewController

Protected onUnmount

  • onUnmount(): void

Protected onUpdate

prependChild

  • prependChild(child: View | Node): void

prependChildNode

  • prependChildNode(childNode: Node): void

prependChildView

  • prependChildView(childView: View): void

remove

  • remove(): void

removeAll

  • removeAll(): void

removeChild

removeChildNode

  • removeChildNode(childNode: Node): void

removeChildView

  • removeChildView(childView: View): void

removeViewObserver

requestUpdate

  • requestUpdate(updateFlags: number, immediate: boolean): void

requireUpdate

  • requireUpdate(updateFlags: number, immediate?: boolean): void

setChildView

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

setViewController

text

  • text(): string | null
  • text(value: string | null): this

Protected willAddViewObserver

Protected willAnimate

Protected willCompute

Protected willInsertChildNode

  • willInsertChildNode(childNode: Node, targetNode: Node | null): void

Protected willInsertChildView

  • willInsertChildView(childView: View, targetView: View | null | undefined): void

Protected willLayout

Protected willMount

  • willMount(): void

Protected willObserve

  • willObserve(callback: (this: this, viewObserver: ViewObserver) => void): void

Protected willRemoveChildNode

  • willRemoveChildNode(childNode: Node): void

Protected willRemoveChildView

  • willRemoveChildView(childView: View): void

Protected willRemoveViewObserver

Protected willScroll

Protected willSetKey

  • willSetKey(key: string | null): void

Protected willSetParentView

  • willSetParentView(parentView: View | null): void

Protected willSetViewController

Protected willUnmount

  • willUnmount(): void

Protected willUpdate

Static create

Static fromNode