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¶
Name | Type | Default | Description |
---|---|---|---|
dropdownData ¶ | unknown | Data that should be passed as template context to the dropdown. | |
siHeaderDropdownTriggerFor | TemplateRef <unknown > | Template that be 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 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.