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
`pop()` takes optional parameters for the number of stacks to pop and additional options. These parameters can be omitted, and default values will be used.
172
+
`pop()` takes optional parameters for the number of activities to pop and additional options. These parameters can be omitted, and default values will be used.
173
173
174
174
```ts
175
-
pop(); // pop a single stack
175
+
pop(); // pop a single activity
176
176
177
-
pop(3); // pop multiple stacks
177
+
pop(3); // pop multiple activities
178
178
179
179
pop({
180
180
/* additional option */
181
-
}); // pop a single stack with additional options
181
+
}); // pop a single activity with additional options
182
182
183
183
pop(3, {
184
184
/* additional option */
185
-
}); // pop multiple stacks with additional options
185
+
}); // pop multiple activities with additional options
186
186
```
187
187
188
-
The first parameter of the pop() function can specify the number of stacks to pop or define additional options. If the first parameter is used for the number of stacks, the second parameter can then be used to provide additional options.
188
+
The first parameter of the pop() function can specify the number of activities to pop or define additional options. If the first parameter is used for the number of activities, the second parameter can then be used to provide additional options.
189
189
190
190
The additional options include the following values.
191
191
@@ -197,4 +197,4 @@ The additional options include the following values.
197
197
198
198
---
199
199
200
-
We have learned how to stack, replace, and delete activities. Now, let's learn how to create a virtual stack within an activity.
200
+
We have learned how to activity, replace, and delete activities. Now, let's learn how to create a virtual activity within an activity.
0 commit comments