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.
API
Properties
Every property declared by this interface, with its type, optionality and default.
- valuerequiredstring
- Current model value coerced to string.
- editrequired() => void
- Switches the component into edit mode.
- isEmptyrequiredboolean
- True when the value is empty or nullish — use to drive placeholder styling.
- placeholderrequiredstring
- Resolved placeholder string with a sane fallback.
- disabledrequiredboolean
- 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