Skip to content
Meeko
Type to search the guides and the API reference. Open it from any page with / or Ctrl K; move with the arrow keys and open a result with Enter.
Get started

Contents

On this page

Not translated yet

This page has not been translated into English yet, so it is shown in Spanish.

NavigationState

interfaz

Estado de navegación de la aplicación del navegador que renderiza un componente. Lo devuelve useNavigation.

ts
import type { NavigationState } from "@meekojs/meeko/framework";

Source code src/app/runtime/navigation.ts:21

Declaración #

ts
interface NavigationState {
	readonly pending: ReadonlySignal<boolean>
}

Example #

ts
import { useNavigation } from "@meekojs/meeko/framework";
import type { NavigationState } from "@meekojs/meeko/framework";

const navigation: NavigationState = useNavigation();
const busy = navigation.pending.value;

Propiedades #

pending #

propiedad sólo lectura

readonly pending: ReadonlySignal<boolean>

true desde que empieza una navegación hasta que su página se confirma, falla o se cancela.

See also #

Was this page helpful?

Add a comment

It is sent when you choose “Yes” or “No”. Only the page, your answer and the comment are stored: no cookies and no personal data.

0 of 2000 characters

Edit on GitHub: packages/meeko/src/app/runtime/navigation.ts