Chartbreaker
    Preparing search index...

    Interface NavigationTransition

    The NavigationTransition interface of the Navigation API represents an ongoing navigation, that is, a navigation that hasn't yet reached the navigatesuccess or navigateerror stage.

    MDN Reference

    interface NavigationTransition {
        committed: Promise<void>;
        finished: Promise<void>;
        from: NavigationHistoryEntry;
        navigationType: NavigationType;
    }
    Index

    Properties

    committed: Promise<void>
    finished: Promise<void>

    The finished read-only property of the NavigationTransition interface returns a Promise that fulfills at the same time the navigatesuccess event fires, or rejects at the same time the navigateerror event fires.

    MDN Reference

    The from read-only property of the NavigationTransition interface returns the NavigationHistoryEntry that the transition is coming from.

    MDN Reference

    navigationType: NavigationType

    The navigationType read-only property of the NavigationTransition interface returns the type of the ongoing navigation.

    MDN Reference