IInlineEditActionsSlotBindings

interface
Slots

Scoped slot bindings exposed by the #actions slot of OrigamInlineEdit — provides confirm/cancel callbacks and a pending flag for rendering custom action buttons.

TypeScript

Definition

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

typescript

API

Properties

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

confirm
required
() => void
Run the validator and commit the draft if it passes.
cancel
required
() => void
Discard the draft and return to display mode.
isPending
required
boolean
True while an async validator is in flight.

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Custom confirm / cancel buttons via #actions slot

vue