NavigationContext

Gets a reference to a Lightning web component's navigation context (its closest ancestor router container) for use with the generateUrl() and navigate() APIs.

None

  • A ContextId, which is an opaque ID for the parent router container nearest to the component.

See Also