IFormSlots

interface
Slots

Slot signatures for OrigamForm — extends ICommonsComponentSlots with messages, message, and actions slots for custom footer controls.

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.

messages
() => any
Custom messages area shown below the form fields.
message
() => any
Custom single message display.
actions
(data: { submit: (e: Event) => void, reset: (e: Event) => void }) => any
Custom actions area — receives submit() and reset() helpers.

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Custom actions slot with submit and reset buttons

vue