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

Method push

core/src/components/nav/nav.tsx:176–183  ·  view source on GitHub ↗
(
    component: T,
    componentProps?: ComponentProps<T> | null,
    opts?: NavOptions | null,
    done?: TransitionDoneFn
  )

Source from the content-addressed store, hash-verified

174 */
175 @Method()
176 push<T extends NavComponent>(
177 component: T,
178 componentProps?: ComponentProps<T> | null,
179 opts?: NavOptions | null,
180 done?: TransitionDoneFn
181 ): Promise<boolean> {
182 return this.insert(-1, component, componentProps, opts, done);
183 }
184
185 /**
186 * Inserts a component into the navigation stack at the specified index.

Callers 15

setRouteIdMethod · 0.95
alert.e2e.tsFile · 0.45
alert.e2e.tsFile · 0.45
item.e2e.tsFile · 0.45
item.e2e.tsFile · 0.45
item.e2e.tsFile · 0.45
item.e2e.tsFile · 0.45
navLinkFunction · 0.45
split-pane.e2e.tsFile · 0.45

Calls 1

insertMethod · 0.95

Tested by

no test coverage detected