• Overview
@angular/aria/combobox

ComboboxWidget

directive

Identifies an element as a widget within a combobox popup.

API

    
      class ComboboxWidget implements OnInit ,OnDestroy {}
    
    

element

HTMLElement

A 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
@returnsvoid

ngOnDestroy

void
@returnsvoid

onFocusin

void

Handles focus in events for the widget.

@returnsvoid

onFocusout

void

Handles focus out events for the widget.

@parameventFocusEvent
@returnsvoid

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.

Jump to details