Skip to content

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

NameTypeDefaultDescription
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
Required
stringThe icon to be shown.

Attributes and Methods

NameTypeDefaultDescription
ngOnChanges(...)
(changes: SimpleChanges) => voidA 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()
() => voidA 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.