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.

AwaitMessages

interfaz Since 1.5.0

Textos de <MeekoAwait> cuando no recibe el snippet error, para traducirlos con bind:messages.

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

Source code src/app/runtime/await.ts:55

Declaración #

ts
interface AwaitMessages {
	readonly error?: string
	readonly retry?: string
}

Example #

meeko
<MeekoAwait for="items" bind:messages="{ error: 'Could not load the items.', retry: 'Retry' }">
  <ItemsList bind:items="items.data.value" />
</MeekoAwait>

Propiedades #

error #

propiedad sólo lectura opcional

readonly error?: string

Aviso del fallo; por defecto, «No se pudieron cargar los datos.».

retry #

propiedad sólo lectura opcional

readonly retry?: string

Texto del botón que vuelve a pedir los datos; por defecto, «Reintentar».

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/await.ts