Skip to content

SiHeaderDropdownTriggerDirective documentation

selector exported-as
[siHeaderDropdownTriggerFor] siHeaderDropdownTrigger

Trigger to open dropdowns in a navbar. A dropdown will always be attached to the view, even if not visible.

If a dropdown is opened in desktop mode, it will be reattached to an overlay while being opened.

Input Properties

Name Type Default Description
dropdownData
unknown Context data passed to the dropdown template.
siHeaderDropdownTriggerFor
Required
TemplateRef<unknown> Template rendered inside the dropdown.

Output Properties

Name Type Description
openChange
boolean Emits whenever a dropdown is opened or closed.

Attributes and Methods

Name Type Default Description
close(...)
(options: { all: boolean }) => void Closes the dropdown.

Parameters
(readonly) isOpen
boolean Whether the dropdown is currently open.
open()
() => void Opens the dropdown.

Types Documentation

No types to document for items on this page.


Except where otherwise noted, content on this site is licensed under MIT License.