IInlineEditSlots
interface
Slots
Slot signatures for OrigamInlineEdit — three optional scoped slots: #display for the read affordance, #edit for the input layout, and #actions for confirm/cancel buttons.
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.
- display(bindings: IInlineEditDisplaySlotBindings) => any
- Custom read-mode affordance. Receives IInlineEditDisplaySlotBindings.
- edit(bindings: IInlineEditEditSlotBindings) => any
- Custom edit-mode input layout. Receives IInlineEditEditSlotBindings.
- actions(bindings: IInlineEditActionsSlotBindings) => any
- Custom confirm/cancel buttons. Receives IInlineEditActionsSlotBindings.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Fully custom inline edit with all three slots