Primitives / foldkit-primitives/dom
Step
const · packages/primitives/src/dom/focus-recovery.ts:7
const Step: Schema.Union<
readonly [
Schema.Literals<
readonly ['same', 'next', 'previous', 'parent', 'stop', 'owner']
>,
Schema.Struct<{ readonly part: Schema.String }>,
]
>Its type
type Step = typeof Step.TypeWhere focus goes when the part that had it is gone, tried in order.