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

Method removeIndex

core/src/components/nav/nav.tsx:288–302  ·  view source on GitHub ↗
(
    startIndex: number,
    removeCount = 1,
    opts?: NavOptions | null,
    done?: TransitionDoneFn
  )

Source from the content-addressed store, hash-verified

286 */
287 @Method()
288 removeIndex(
289 startIndex: number,
290 removeCount = 1,
291 opts?: NavOptions | null,
292 done?: TransitionDoneFn
293 ): Promise<boolean> {
294 return this.queueTrns(
295 {
296 removeStart: startIndex,
297 removeCount,
298 opts,
299 },
300 done
301 );
302 }
303
304 /**
305 * Set the root for the current navigation stack to a component.

Callers 3

popMethod · 0.95
popToRootMethod · 0.95

Calls 1

queueTrnsMethod · 0.95

Tested by

no test coverage detected