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
unknownContext data passed to the dropdown template.
siHeaderDropdownTriggerFor
Required
TemplateRef<unknown>Template 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 currently 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.