IConfirmWrapperSlots

interface
Component Slots

Slot contract for <OrigamConfirmWrapper> — exposes the primary input slot, the confirmation input slot, a header slot, title/messages/message/details helpers and the full adjacent-slots surface.

TypeScript

Définition

La définition TypeScript de l'interface telle que trouvée dans le code source d'origam. Cliquez sur l'icône de copie pour copier l'extrait.

typescript

Héritage

Hérite de

Interfaces parentes dont celle-ci hérite. Leurs propriétés sont disponibles pour tout consommateur de cette interface.

API

Propriétés

Chaque propriété déclarée par cette interface, avec son type, son caractère optionnel et sa valeur par défaut.

default
() => any
Primary input slot — the first field the user fills in.
confirm
() => any
Confirmation input slot — the second field that must match the first.
header
() => any
Optional header rendered above both inputs.
title
(props: any) => any
Title content area above the input group.
messages
(data: { hasMessages: boolean, messages: string[], messagesId: string }) => any
Override the default messages area; receives hasMessages flag, message strings and the messagesId for aria linking.
message
(data: { message: string }) => any
Template for a single message item.
details
(data: { id: string, messagesId: string, isDirty: boolean, isDisabled: boolean, isReadonly: boolean }) => any
Details/hint area below the inputs — receives the field state flags.

Écosystème

Utilisé par

Composants et composables qui étendent ou consomment cette interface.

Usage

Exemples

Extraits de code prêts à coller utilisant cette interface.

Custom messages slot on ConfirmWrapper

vue