Skip to content

Detect back/forward (expose popstate event) #2796

@heidarv

Description

@heidarv

What problem does this feature solve?

The need to know when back button is pressed without using popstate event.
For example to return to global search popup dialog from search results.

What does the proposed API look like?

router.popstate((to, from, next) => {
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions