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

Definition

The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.

typescript

Inheritance

Extends

Parent interfaces this one inherits from. Their properties are available on every consumer of this interface.

API

Properties

Every property declared by this interface, with its type, optionality and default.

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.

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Custom messages slot on ConfirmWrapper

vue