File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,12 @@ export class PathNode {
28
28
/** The state's declared view configuration objects */
29
29
public views : ViewConfig [ ] ;
30
30
31
+ /**
32
+ * Returns a clone of the PathNode
33
+ * @deprecated use instance method `node.clone()`
34
+ */
35
+ static clone = ( node : PathNode ) => node . clone ( ) ;
36
+
31
37
/** Creates a copy of a PathNode */
32
38
constructor ( node : PathNode ) ;
33
39
/** Creates a new (empty) PathNode for a State */
Original file line number Diff line number Diff line change @@ -137,6 +137,16 @@ export interface TreeChanges {
137
137
*/
138
138
retained : PathNode [ ] ;
139
139
140
+ /**
141
+ * The path of active nodes that the transition is retaining with updated "to params" applied.
142
+ *
143
+ * These nodes are neither exited, nor entered.
144
+ * Before and after the transition is successful, these nodes are active.
145
+ *
146
+ * This is a shallow copy of [[retained]], but with new (dynamic) parameter values from [[to]] applied.
147
+ */
148
+ retainedWithToParams : PathNode [ ] ;
149
+
140
150
/**
141
151
* The path of previously active nodes that the transition is exiting.
142
152
*
You can’t perform that action at this time.
0 commit comments