interface / @typed/ui/Listbox

State

The committed single value and the option currently owning keyboard focus. Normal option focus and movement update both values; the DOM ID and saved value may differ.

Learn this UI primitive →

Package version
1.0.0-beta.13
Category
Selection and focus
Since
1.0.0

Import

import { State } from "@typed/ui/Listbox";

Signatures

export interface State extends Omit<Composite.State, "orientation"> {
    readonly orientation: "vertical";
    readonly value: string | null;
}

Property: orientation

Axis used to interpret Arrow-key movement.

Property: value

Current semantic value selected or edited by the widget.

Other public imports

These import paths expose the same declaration. Each page retains its own public name and signature.

Source