ADJACENT

enum
Layout & Positioning

TypeScript enum for slot positions adjacent to a form control (clear, prepend, append, appendInner, prependInner).

TypeScript

Definition

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

typescript

Members

Members

All members of this enum. Click a value to copy it to clipboard.

ADJACENT.CLEAR
Clear action slot — renders a dismiss / clear button.
ADJACENT.PREPEND
Outer prepend slot — rendered before the control, outside the input wrapper.
ADJACENT.APPEND
Outer append slot — rendered after the control, outside the input wrapper.
ADJACENT.APPEND_INNER
Inner append slot — rendered inside the input wrapper, trailing edge.
ADJACENT.PREPEND_INNER
Inner prepend slot — rendered inside the input wrapper, leading edge.

Ecosystem

Used by

Components and props that accept this enum as a value.

Usage

Examples

Ready-to-paste code snippets using this enum.

Using the enum in script setup

typescript