ComboboxWidget
Identifies an element as a widget within a combobox popup.
API
class ComboboxWidget implements OnInit ,OnDestroy {
readonly element: HTMLElement;
readonly popupId: WritableSignal<string | undefined>;
readonly @Input() activeDescendant: InputSignal<string | undefined>;
onFocusin(): void;
onFocusout(event: FocusEvent): void;
}
element
HTMLElementA reference to the popup widget element.
popupId
WritableSignal<string | undefined>The ID of the popup widget.
activeDescendant
InputSignal<string | undefined>The ID of the active descendant in the widget.
ngOnInit
void
@returns
void
ngOnDestroy
void
@returns
void
onFocusin
voidHandles focus in events for the widget.
@returns
void
onFocusout
voidHandles focus out events for the widget.
@paramevent
FocusEvent
@returns
void
Description
Identifies an element as a widget within a combobox popup.
This directive should be applied to the element that contains the options or content of the popup. It handles the communication of ID and active descendant information to the combobox.
Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/aria/combobox/ComboboxWidget