CometChatStatusIndicator is a customized component which indicates whether user is online or offline. You can customize the borderColor, borderSize, and backgroundColor of this component.
Properties
Name
Type
Description
backgroundColor
string
Background color of the indicator
backgroundImage
string
Background image of the indicator
statusIndicatorStyle
Object
Styling properties of the element.
Usage
HTML
JavaScript
<!--use the element--><cometchat-status-indicator[statusIndicatorStyle]="statusIndicatorStyle"></cometchat-status-indicator>