IFocusProps
interface
Interaction & State
Focus contract — a single `focused` prop that lets the parent control or observe the focus state of a component that manages keyboard focus internally.
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.
- focusedboolean
- When true, the component renders in its focused visual state. Typically bound as v-model:focused for two-way sync.
Ecosystem
Used by
Components and composables that extend or consume this interface.
Usage
Examples
Ready-to-paste code snippets using this interface.
Two-way binding with v-model:focused