Spec-Zone.ru › Angular

ComboboxPopup

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 {
  readonly @Input() combobox: InputSignal<Combobox>;
  readonly controlTarget: Signal<HTMLElement | undefined>;
  readonly popupId: Signal<string | undefined>;
  readonly activeDescendant: Signal<string | undefined>;
  readonly @Input() popupType: InputSignal<"listbox" | "tree" | "grid" | "dialog">;
}

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>

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/ComboboxPopup

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API