Skip to content

SiHeaderDropdownTriggerDirective documentation

selectorexported-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

NameTypeDefaultDescription
dropdownData
unknownData that should be passed as template context to the dropdown.
siHeaderDropdownTriggerFor
Required
TemplateRef<unknown>Template that be rendered inside the dropdown.

Output Properties

NameTypeDescription
openChange
booleanEmits whenever a dropdown is opened or closed.

Attributes and Methods

NameTypeDefaultDescription
close(...)
(options: { all: boolean }) => voidCloses the dropdown.

Parameters
(readonly) isOpen
booleanWhether the dropdown is open.
open()
() => voidOpens 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.