You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor(view): refactor how views are loaded and configured.
- Require a Framework-specific (ng1/ng2) StateBuilder `views` decorator
- The `views` decorator takes `ViewDeclaration`s and returns normalized `ViewDeclaration`s
- Before a `Transition` begins, a `ViewConfig` is created and bound to the appropriate Node
- During the transition, the `ViewConfig` is prepped using `load()`
- After the configs are prepped, they are registered with the `StateService`, to be matched with `ui-view`s
- The `$element.data('$uiView')` is reorganized and simplified.
- $element.data('$uiView').$uiView has the ActiveUIView object
- $element.data('$uiView').$cfg has the ViewConfig object
0 commit comments