• Overview
@angular/aria/combobox

ComboboxPopup

directive

A structural directive that marks the ng-template to be used as the popup for a combobox. This content is conditionally rendered.

API

    
      class ComboboxPopup implements OnInit ,OnDestroy {}
    
    

combobox

InputSignal<Combobox>

The combobox that the popup belongs to.

controlTarget

Signal<HTMLElement | undefined>

The element that serves as the control target for the popup.

popupId

Signal<string | undefined>

The ID of the popup.

activeDescendant

Signal<string | undefined>

The ID of the active descendant in the popup.

popupType

InputSignal<"listbox" | "tree" | "grid" | "dialog">

The type of the popup (e.g., listbox, tree, grid, dialog).

ngOnInit

void
@returnsvoid

ngOnDestroy

void
@returnsvoid

Description

A structural directive that marks the ng-template to be used as the popup for a combobox. This content is conditionally rendered.

The content of the popup can be any element with the ngComboboxWidget directive.

<ng-template ngComboboxPopup>
  <div ngComboboxWidget>
    <!-- ... options ... -->
  </div>
</ng-template>
Jump to details