IInlineEditDisplaySlotBindings

interface
Slots

Scoped slot bindings exposed by the #display slot of OrigamInlineEdit — provides the current value, an edit trigger, empty/placeholder state, and the disabled flag.

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.

value
required
string
Current model value coerced to string.
edit
required
() => void
Switches the component into edit mode.
isEmpty
required
boolean
True when the value is empty or nullish — use to drive placeholder styling.
placeholder
required
string
Resolved placeholder string with a sane fallback.
disabled
required
boolean
Mirrors the disabled prop for visual handling.

Ecosystem

Used by

Components and composables that extend or consume this interface.

Usage

Examples

Ready-to-paste code snippets using this interface.

Custom display affordance using a heading

vue