Add the #DF24 Developer Keynote to your agenda. Join us in-person on 9/18 at 2:30 p.m. PT or on Salesforce+ at 5 p.m. PT for the must-see session built just for developers.

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