ViewConfig | @uirouter/core
Options
All
  • Public
  • Public/Protected
  • All
Menu

This interface represents a ViewDeclaration that is bound to a <a href="../classes/_path_pathnode.pathnode.html">PathNode.

A ViewConfig is the runtime definition of a single view.

During a transition, ViewConfigs are created for each ViewDeclaration defined on each "entering" <a href="../classes/_state_stateobject.stateobject.html">StateObject. Then, the ViewService finds any matching ui-view(s) in the DOM, and supplies the ui-view with the ViewConfig. The ui-view then loads itself using the information found in the ViewConfig.

A ViewConfig if matched with a ui-view by finding all ui-views which were created in the context named by the uiViewContextAnchor, and finding the ui-view or child ui-view that matches the uiViewName address.

Hierarchy

  • ViewConfig

Index

Properties

Methods

Properties

$id

$id: number

loaded

loaded: boolean

path

path: PathNode[]

The node the ViewConfig is bound to

viewDecl

The normalized view declaration from [[State.views]]

Methods

load

Generated using TypeDoc