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

Method insertPages

core/src/components/nav/nav.tsx:217–231  ·  view source on GitHub ↗
(
    insertIndex: number,
    insertComponents: NavComponent[] | NavComponentWithProps[],
    opts?: NavOptions | null,
    done?: TransitionDoneFn
  )

Source from the content-addressed store, hash-verified

215 */
216 @Method()
217 insertPages(
218 insertIndex: number,
219 insertComponents: NavComponent[] | NavComponentWithProps[],
220 opts?: NavOptions | null,
221 done?: TransitionDoneFn
222 ): Promise<boolean> {
223 return this.queueTrns(
224 {
225 insertStart: insertIndex,
226 insertViews: insertComponents,
227 opts,
228 },
229 done
230 );
231 }
232
233 /**
234 * Pop a component off of the navigation stack. Navigates back from the current

Callers 2

insertMethod · 0.95

Calls 1

queueTrnsMethod · 0.95

Tested by

no test coverage detected