We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent edf4806 commit 46de181Copy full SHA for 46de181
src/aria/combobox/combobox.ts
@@ -82,9 +82,15 @@ export class Combobox<V> {
82
/** The value of the first matching item in the popup. */
83
readonly firstMatch = input<V | undefined>(undefined);
84
85
+ /** The id of the current active item. */
86
+ readonly activedescendant = computed(() => this._pattern.activedescendant());
87
+
88
/** Whether the combobox is expanded. */
89
readonly expanded = computed(() => this._pattern.expanded());
90
91
+ /** The currently highlighted item in the combobox. */
92
+ readonly highlightedItem = computed(() => this._pattern.highlightedItem());
93
94
/** Input element connected to the combobox, if any. */
95
readonly inputElement = computed(() => this._pattern.inputs.inputEl());
96
0 commit comments