The UiView entry interface

Type parameters

NameType
RefUiViewRef

Properties

key

Readonly key: string

key of the UiView


render

Readonly render: () => TVNode<UiView<UiViewProps>, UiViewProps>

Closure to render the view

Type declaration

▸ (): TVNode<UiView<UiViewProps>, UiViewProps>

Closure to render the view

Returns

TVNode<UiView<UiViewProps>, UiViewProps>


vNode

vNode: TVNode<UiView<UiViewProps>, UiViewProps> | () => TVNode<UiView<UiViewProps>, UiViewProps>

The UiView vNode callback


ref

ref: Ref

Reference to the view


containerRef

containerRef: NodeReference<AppViewWrapper>

Reference to the container


isVisible

Readonly isVisible: Subject<boolean>

State of the view’s visibility


layer

Readonly layer: Subject<number>

The view-stack layer the view is in, if any


type

Readonly type: Subject<ViewType>

The view type this entry’s view is currently opened as: page, popup, or base.


isInit

isInit: boolean

Is the view initiated.


viewOptions

Readonly viewOptions: ViewOptions

the UiView viewOptions. Defaults to COLD BootMode and SLEEP SuspendMode