MCPcopy Index your code
hub / github.com/ionic-team/ionic-framework / popToRoot

Method popToRoot

core/src/components/nav/nav.tsx:275–277  ·  view source on GitHub ↗
(opts?: NavOptions | null, done?: TransitionDoneFn)

Source from the content-addressed store, hash-verified

273 */
274 @Method()
275 popToRoot(opts?: NavOptions | null, done?: TransitionDoneFn): Promise<boolean> {
276 return this.removeIndex(1, -1, opts, done);
277 }
278
279 /**
280 * Removes a component from the navigation stack at the specified index.

Callers 2

PageThreeFunction · 0.80

Calls 1

removeIndexMethod · 0.95

Tested by

no test coverage detected