Skip to content

bug: router-outlet getRouteId() should returns the params #24652

@vicb

Description

@vicb

Prerequisites

Ionic Framework Version

  • v4.x
  • v5.x
  • v6.x

Current Behavior

getRouteId() should returns the params to be consistent with ion-nav

It will also enable fixing a bug (I'll create a separate one)

Expected Behavior

Returns the params passed to setRouteId().

Steps to Reproduce

Call getRouteId() params are nor returned.

I'll create a PR with tests.

Code Reproduction URL

No response

Ionic Info

No response

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions