(
insertIndex: number,
component: T,
componentProps?: ComponentProps<T> | null,
opts?: NavOptions | null,
done?: TransitionDoneFn
)
| 194 | */ |
| 195 | @Method() |
| 196 | insert<T extends NavComponent>( |
| 197 | insertIndex: number, |
| 198 | component: T, |
| 199 | componentProps?: ComponentProps<T> | null, |
| 200 | opts?: NavOptions | null, |
| 201 | done?: TransitionDoneFn |
| 202 | ): Promise<boolean> { |
| 203 | return this.insertPages(insertIndex, [{ component, componentProps }], opts, done); |
| 204 | } |
| 205 | |
| 206 | /** |
| 207 | * Inserts an array of components into the navigation stack at the specified index. |
no test coverage detected