From 1109132f09d75da9a28b649c7677bb6ce07c40c0 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:41:45 -0500 Subject: initial commit --- files/es/web/api/performancenavigation/index.html | 87 +++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 files/es/web/api/performancenavigation/index.html (limited to 'files/es/web/api/performancenavigation/index.html') diff --git a/files/es/web/api/performancenavigation/index.html b/files/es/web/api/performancenavigation/index.html new file mode 100644 index 0000000000..60ed7f1ce4 --- /dev/null +++ b/files/es/web/api/performancenavigation/index.html @@ -0,0 +1,87 @@ +--- +title: PerformanceNavigation +slug: Web/API/PerformanceNavigation +tags: + - API + - API de tiempo de navegación + - Compatibilidad + - Deprecada + - Interfaz + - Legado + - Referencia + - Rendimiento + - TIempo + - Tiempo de navegación +translation_of: Web/API/PerformanceNavigation +--- +

{{APIRef("Navigation Timing")}}

+ +
+

Esta interfaz está deprecada en Navigation Timing Level 2 specification. Por favor usa la interfaz {{domxref("PerformanceNavigationTiming")}} en lugar de esta.

+
+ +

La interfaz de legado PerformanceNavigation representa información acerca de cómo la navegación en el documento actual fue hecha.

+ +

Un objeto de este tipo puede ser optenido con el llamado del atributo de solo lectura {{domxref("Performance.navigation")}}.

+ +

Propiedades

+ +

La interfaz PerformanceNavigation no hereda ninguna propiedad.

+ +
+
{{deprecated_inline}} {{domxref("PerformanceNavigation.type")}} {{readonlyInline}}
+
Un unsigned short el cual indica cómo la navegación en esta página fue hecha. Los valores posibles son:
+
+
+
TYPE_NAVIGATE (0)
+
La página fue accesada por un link, un marcador, un formulario enviado, o un script, o escribiendo la URL en la barra de direcciones.
+
TYPE_RELOAD (1)
+
La página fue accesada haciendo click al botón de Recargar o con el método {{domxref("Location.reload()")}}.
+
TYPE_BACK_FORWARD (2)
+
La página fue accesada por la navegación en el historial.
+
TYPE_RESERVED (255)
+
Cualquier otra forma.
+
+
+
{{deprecated_inline}} {{domxref("PerformanceNavigation.redirectCount")}} {{readonlyInline}}
+
Un unsigned short que representa el número de REDIRECTs hechos antes de llegar a la página.
+
+ +

Métodos

+ +

La interfaz Performance no hereda ningún método.

+ +
+
{{deprecated_inline}} {{domxref("PerformanceNavigation.toJSON()")}}
+
Es un jsonizer que retorna un objeto json que representa el objecto PerformanceNavigation.
+
+ +

Especificaciones

+ + + + + + + + + + + + + + +
EspecificaciónEstadoComentario
{{SpecName('Navigation Timing', '#sec-navigation-info-interface', 'PerformanceNavigation')}}{{Spec2('Navigation Timing')}}Definición inicial.
+ +

Compatibilidad de navegadores

+ + + +

{{Compat("api.PerformanceNavigation")}}

+ +

Ver también

+ + -- cgit v1.2.3-54-g00ecf