Interface PerformanceNavigation
interface PerformanceNavigation {
redirectCount: number;
type: number;
TYPE_BACK_FORWARD: 2;
TYPE_NAVIGATE: 0;
TYPE_RELOAD: 1;
TYPE_RESERVED: 255;
toJSON(): any;
}
redirectCount: number;
type: number;
TYPE_BACK_FORWARD: 2;
TYPE_NAVIGATE: 0;
TYPE_RELOAD: 1;
TYPE_RESERVED: 255;
toJSON(): any;
}
Index
Properties
Methods
Properties
ReadonlyredirectCount
redirectCount: number
The legacy PerformanceNavigation.redirectCount read-only property returns an unsigned short representing the number of REDIRECTs done before reaching the page.
Readonlytype
type: number
The legacy PerformanceNavigation.type read-only property returns an unsigned short containing a constant describing how the navigation to this page was done.
ReadonlyTYPE_BACK_FORWARD
TYPE_BACK_FORWARD: 2
ReadonlyTYPE_NAVIGATE
TYPE_NAVIGATE: 0
ReadonlyTYPE_RELOAD
TYPE_RELOAD: 1
ReadonlyTYPE_RESERVED
TYPE_RESERVED: 255
The legacy
PerformanceNavigationinterface represents information about how the navigation to the current document was done.Deprecated
This interface is deprecated in the Navigation Timing Level 2 specification. Please use the PerformanceNavigationTiming interface instead.
MDN Reference