# AnchorOptions

Options for a hovercard anchor host.

## Signatures

```ts
export interface AnchorOptions extends Dom.HostOptions<HTMLSpanElement> {
    readonly state: RefSubject.HydratedRefSubject<State, Schema.SchemaError>;
    readonly content: Renderable.Any;
    readonly showDelay?: number;
    readonly hideDelay?: number;
}
```

## Why

Pointer entry works with the default span. Keyboard focus behavior requires
the host itself to be focusable, for example `props: { tabindex: 0 }` or a
focusable custom host; focus and blur on descendants do not bubble to it.

## Ownership and lifetime

Options are inert; rendering owns handlers/delayed effects by Scope.

## Property: content

Anchor content.

## Property: content: Why

The wrapper retains nested content, but focusable descendants do not
activate the default span's non-bubbling focus and blur handlers.

## Property: content: Ownership and lifetime

Dynamic content follows the anchor Scope.

## Property: hideDelay

Milliseconds before closing.

## Property: hideDelay: Why

Delay gives users time to move focus or pointer toward content.

## Property: hideDelay: Ownership and lifetime

New schedules invalidate older delayed updates.

## Property: showDelay

Milliseconds before opening.

## Property: showDelay: Why

Delay filters incidental pointer transit.

## Property: showDelay: Ownership and lifetime

New schedules invalidate older delayed updates.

## Property: state

Hydrated state shared with hovercard content.

## Property: state: Why

Its id and open state coordinate the whole compound widget.

## Property: state: Ownership and lifetime

The anchor borrows state; its original Scope owns it.
