Search docs/

ion-nav-set-root

Contents

NavSetRoot is a component that allows you to set the root of the current navigation stack. It is the component form of calling NavController.setRoot()

Properties

component

Description

Component you want to make root for the navigation stack

Attributecomponent
TypeFunction | HTMLElement | ViewController | null | string | undefined

componentProps

Description

Data you want to pass to the component as props

Typeundefined | { [key: string]: any; }