CometChatJoinGroup
is a Component used to set up a screen that shows the functionality to join a password protected group, featuring the functionality to join a password-protected group, where users can join a single password-protected group at a time.
Components | Description |
---|---|
cometchat-button | This component represents a button with optional icon and text. |
cometchat-label | This component provides descriptive information about the associated UI element. |
cometchat-input | This component allows users to enter or provide data or information within a web form or interface. |
joinClick
action is activated when you click the join Group button. This returns the join groups.
You can override this action using the following code snippet.
Component
. You can filter the list based on your specific criteria, allowing for a more customized. Filters can be applied using RequestBuilders
of Chat SDK.
The Join Group
component does not have any exposed filters.
Component
. By using event you can extend existing functionality. Being global events, they can be applied in Multiple Locations and are capable of being Added or Removed.
Events emitted by the Join Group component is as follows.
Event | Description |
---|---|
ccGroupMemberJoined | Triggers when the user joined a protected group successfully |
CometChatGroupEvents
Listener’s
JoinGroupStyle
to the Join Group
Component to customize the styling.
Property | Description | Code |
---|---|---|
border | Used to set border | border?: string, |
borderRadius | Used to set border radius | borderRadius?: string; |
background | Used to set background colour | background?: string; |
height | Used to set height | height?: string; |
width | Used to set width | width?: string; |
boxShadow | Sets shadow effects around the element | boxShadow?: string; |
titleTextFont | Sets the font style for the title text | titleTextFont?: string; |
titleTextColor | Sets the color for the title text | titleTextColor?: string; |
errorTextFont | Sets the font style for error messages | errorTextFont?: string; |
errorTextColor | Sets the color for error messages | errorTextColor?: string; |
passwordInputTextFont | Sets the font style for password input | passwordInputTextFont?: string; |
passwordInputTextColor | Sets the color for password input text | passwordInputTextColor?: string; |
passwordInputPlaceholderTextFont | Sets the font style for password input placeholder text | passwordInputPlaceholderTextFont?: string; |
passwordInputPlaceholderTextColor | Sets the color for password input placeholder text | passwordInputPlaceholderTextColor?: string; |
passwordInputBackground | Sets the background color for password input field | passwordInputBackground?: string; |
passwordInputBorder | Sets the border style for password input field | passwordInputBorder?: string; |
passwordInputBorderRadius | Sets the border radius for password input field | passwordInputBorderRadius?: string; |
passwordInputBoxShadow | Sets shadow effects around the password input field | passwordInputBoxShadow?: string; |
joinButtonTextFont | Sets the font style for the join button | joinButtonTextFont?: string; |
joinButtonTextColor | Sets the color for the join button text | joinButtonTextColor?: string; |
joinButtonBackground | Sets the background color for the join button | joinButtonBackground?: string; |
joinButtonBorderRadius | Sets the border radius for the join button | joinButtonBorderRadius?: string; |
joinButtonBorder | Sets the border style for the join button | joinButtonBorder?: string; |
Property | Description | Code |
---|---|---|
title | Custom title for the component | [title]="'Your Custom Title'" |
joinButtonText | Custom text for the join group button | [joinButtonText]="'Your Custom Join Group Button Text'" |
passwordInputPlaceholderText | Custom placeholder text for password input field | [passwordInputPlaceholderText]="'Your Custom Password Input Placeholder Text'" |
errorText | Custom error state text | [errorText]="'Your Custom Error Text'" |
group | used to set the group | [group]="groupObject" |
Join Group
component does not offer any advanced functionalities beyond this level of customization.