SiHeaderAccountItemComponent documentation¶
selector
button[si-header-account-item]
Adds an account 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 | |
imageUrl ¶ | string | URL to an image which should be shown instead of the initials. | |
initials ¶ | string | Initials of the account. If not provided, they will be calculated. | |
name | string | Name of the account. |
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.