SiHeaderActionItemComponent documentation¶
selector
button[si-header-action-item], a[si-header-action-item]
Adds an action item to the header. Should be located inside .header-actions
.
Input Properties¶
Name | Type | Default | Description |
---|---|---|---|
badge ¶ | (null | number | boolean ) | Adds a badge to the header item. If type - =number, the number will be shown and automatically trimmed if \>99 - =true, an empty red dot will be shown | |
icon | string | The icon to be shown. |
Attributes and Methods¶
Name | Type | Default | Description |
---|---|---|---|
ngOnChanges(...) ¶ | (changes: SimpleChanges ) => void | A callback method that is invoked immediately after the default change detector has checked data-bound properties if at least one has changed, and before the view and content children are checked. Parameters
| |
ngOnInit() ¶ | () => void | A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated. |
Types Documentation¶
No types to document for items on this page.
Except where otherwise noted, content on this site is licensed under MIT License.