Integrates a native <dialog> element with the combobox, allowing for
a modal or non-modal popup experience. It handles the opening and closing of the dialog
based on the combobox's expanded state.
element
HTMLElementA reference to the dialog element.
combobox
anyThe combobox that the dialog belongs to.
close
void@returns
voidDescription
Integrates a native <dialog> element with the combobox, allowing for
a modal or non-modal popup experience. It handles the opening and closing of the dialog
based on the combobox's expanded state.
<ng-template ngComboboxPopupContainer> <dialog ngComboboxDialog class="example-dialog"> <!-- ... dialog content ... --> </dialog></ng-template>
Jump to details