MCPcopy Index your code

hub / github.com/cometchat/cometchat-uikit-angular / functions

Functions6,248 in github.com/cometchat/cometchat-uikit-angular

↓ 14 callersMethodupdateGroupMemberCount
(count: number)
projects/cometchat-uikit/src/lib/services/message-header.service.ts:135
↓ 14 callersMethodupdateMessageById
(id: number, message: CometChat.BaseMessage)
projects/cometchat-uikit/src/lib/services/message-list.listeners.ts:24
↓ 13 callersMethodannounceCallFailed
* Announces call failed with optional reason. * * @param reason - Optional reason for call failure
projects/cometchat-uikit/src/lib/services/call-announcer.service.ts:126
↓ 13 callersMethodapplyInlineCode
Apply inline code formatting. Wraps selection in <code>. @see Req 2.5
projects/cometchat-uikit/src/lib/services/format-manager.class.ts:65
↓ 13 callersFunctionassertResetState
Asserts that a formatter is in a fully cleared state after reset.
projects/cometchat-uikit/src/lib/formatters/formatter-reset.property.spec.ts:37
↓ 13 callersMethodclose
()
projects/cometchat-uikit/src/lib/components/base-elements/cometchat-fullscreen-viewer/cometchat-fullscreen-viewer-body-scroll.property.spec.ts:26
↓ 13 callersMethodcreateCollaborativeDocument
* Simulate creating a collaborative document * Mirrors MessageComposerService.createCollaborativeDocument * * @param receiverId - User ID or
projects/cometchat-uikit/src/lib/components/cometchat-message-composer/collaborative-payload.property.spec.ts:103
↓ 13 callersFunctioncreateComponent
* Creates a CometChatConversationStarterComponent instance via Object.create() * to bypass Angular's inject() context requirement. * Manually wires
projects/cometchat-uikit/src/lib/components/base-elements/cometchat-conversation-starter/cometchat-conversation-starter.component.spec.ts:192
↓ 13 callersFunctioncreateMockGroupMember
( overrides?: Partial<{ uid: string; name: string; avatar: string; scope: string; joined
projects/cometchat-uikit/src/lib/testing/mock-sdk-user.ts:70
↓ 13 callersFunctioncreateMockMessage
(overrides: Partial<MockBaseMessage> = {})
projects/cometchat-uikit/src/lib/testing/conversations-message-events.integration.spec.ts:154
↓ 13 callersFunctioncreateMockReaction
(emoji: string, uid: string, name: string)
projects/cometchat-uikit/src/lib/components/cometchat-reaction-info/cometchat-reaction-info.component.spec.ts:233
↓ 13 callersFunctioncreateMockTypingIndicator
* Creates a mock TypingIndicator object matching the CometChat SDK interface. * Uses plain objects with getter methods since the SDK constructor requ
projects/cometchat-uikit/src/lib/components/base-elements/cometchat-typing-indicator/cometchat-typing-indicator.stories.ts:30
↓ 13 callersMethoddisableSoundForCalls
(value: boolean)
projects/cometchat-uikit/src/lib/components/cometchat-incoming-call/cometchat-incoming-call.component.ts:87
↓ 13 callersMethoddisconnect
()
vitest.setup.mjs:36
↓ 13 callersFunctionextractExtensionUrl
( message: CometChat.CustomMessage | null | undefined, extensionKey: string, urlKey: string, logPrefix
projects/cometchat-uikit/src/lib/utils/extension-url-extractor.ts:27
↓ 13 callersFunctionextractRegisteredListeners
* Extracts the event listener callbacks registered via addEventListener * by intercepting the mock and capturing what was registered. * * In v5, ev
projects/cometchat-uikit/src/lib/services/ongoing-call.service.spec.ts:76
↓ 13 callersMethodfetchNextAndAppendGroups
* Simulates the fetchNextAndAppendGroups method * This is the core pagination logic being tested
projects/cometchat-uikit/src/lib/components/cometchat-groups/cometchat-groups.component.property.spec.ts:168
↓ 13 callersMethodfetchPreviousMessages
()
projects/cometchat-uikit/src/lib/components/cometchat-message-list/cometchat-message-list.stories.ts:97
↓ 13 callersMethodfetchStickers
* Fetches stickers from the CometChat stickers extension. * @see Requirements 8.4, 8.14, 8.15
projects/cometchat-uikit/src/lib/components/cometchat-stickers-keyboard/cometchat-stickers-keyboard.component.ts:129
↓ 13 callersMethodfilterEmojis
* Filter emojis based on search text by matching against each emoji's keywords array (case-insensitive). * When search is cleared, restores the ful
projects/cometchat-uikit/src/lib/components/base-elements/cometchat-emoji-keyboard/cometchat-emoji-keyboard.component.ts:198
↓ 13 callersFunctionformatTypeGenerator
()
projects/cometchat-uikit/src/lib/components/cometchat-message-composer/format-toggle.property.spec.ts:176
↓ 13 callersFunctiongetDefaultPopupState
* Get the default popup state (all popups closed) * Mirrors the initial state of CometChatMessageComposerComponent * * @returns Default PopupState
projects/cometchat-uikit/src/lib/components/cometchat-message-composer/keyboard-navigation.property.spec.ts:78
↓ 13 callersMethodgetElements
()
projects/cometchat-uikit/src/lib/testing/properties/accessibility-tabindex-properties.spec.ts:34
↓ 13 callersMethodgetFocusedIndex
* Gets the current focused index.
projects/cometchat-uikit/src/lib/components/cometchat-conversations/conversations.property.spec.ts:2725
↓ 13 callersMethodgetLastPlayCall
* Gets the last play call
projects/cometchat-uikit/src/lib/components/cometchat-message-composer/cometchat-message-composer.property.spec.ts:2909
↓ 13 callersMethodgetListType
@returns 'ol', 'ul', or null depending on cursor position.
projects/cometchat-uikit/src/lib/services/list-manager.class.ts:78
↓ 13 callersMethodgetRedoStackSize
* Get the size of the redo stack * @returns Number of entries in redo stack
projects/cometchat-uikit/src/lib/services/history-manager.class.ts:221
↓ 13 callersMethodgetShortcodes
Returns detected shortcodes from the last format() call.
projects/cometchat-uikit/src/lib/formatters/cometchat-emoji-formatter.ts:56
↓ 13 callersFunctiongetTabs
()
projects/cometchat-uikit/src/lib/components/base-elements/cometchat-emoji-keyboard/cometchat-emoji-keyboard.component.spec.ts:114
↓ 13 callersMethodgetUid
()
projects/cometchat-uikit/src/lib/components/cometchat-conversations/cometchat-conversations-component.spec.ts:16
↓ 13 callersFunctionhandleDoubleClick
* Simulate double-click selection behavior * Double-click selects the word under the cursor * * **Validates: Requirements 4.1** * * @param state
projects/cometchat-uikit/src/lib/components/cometchat-message-composer/text-selection.property.spec.ts:187
↓ 13 callersMethodhandleEnterKey
* Handle Enter key: creates new list item or exits list on empty item. * @returns True if handled. @see Requirements 3.3, 3.4
projects/cometchat-uikit/src/lib/services/list-manager.class.ts:46
↓ 13 callersMethodhandleError
(error: unknown, context: string)
projects/cometchat-uikit/src/lib/services/message-header.service.ts:98
↓ 13 callersMethodhandleKeydown
(event: KeyboardEvent, action: string)
projects/cometchat-uikit/src/lib/components/base-elements/cometchat-media-recorder/cometchat-media-recorder.component.ts:113
↓ 13 callersMethodhandleNewMessage
(message: CometChat.BaseMessage)
projects/cometchat-uikit/src/lib/services/search-conversations.service.ts:272
↓ 13 callersMethodhandleStartRecording
()
projects/cometchat-uikit/src/lib/components/base-elements/cometchat-media-recorder/cometchat-media-recorder.component.ts:236
↓ 13 callersMethodhasHoverState
()
projects/cometchat-uikit/src/lib/components/cometchat-message-header/cometchat-message-header-call-button-hover.property.spec.ts:130
↓ 13 callersFunctionheaderRenderUser
(userObj: CometChat.User)
projects/cometchat-uikit/src/lib/components/cometchat-message-header/cometchat-message-header.stories.ts:83
↓ 13 callersMethodnavigateToMessages
Navigate to the messages panel (mobile).
projects/sample-app/src/app/services/navigation.service.ts:137
↓ 13 callersMethodonOutgoingCall
(cb: (call: CometChat.Call) => void, destroyRef?: DestroyRef)
projects/cometchat-uikit/src/lib/events/CometChatCallEvents.ts:35
↓ 13 callersFunctionplaceCaretAtStart
* Helper: place a collapsed cursor at the start of the contenteditable.
projects/cometchat-uikit/src/lib/services/rich-text-editor.class.spec.ts:56
↓ 13 callersMethodpositionToIndex
* Converts grid position to linear index. * * @param row - The row number * @param column - The column number * @param columnCount - Numbe
projects/cometchat-uikit/src/lib/services/grid-navigation.service.ts:80
↓ 13 callersFunctionreceiverIdGenerator
()
projects/cometchat-uikit/src/lib/components/cometchat-message-composer/sticker-sending.property.spec.ts:182
↓ 13 callersMethodreset
* Reset the simulator state
projects/cometchat-uikit/src/lib/components/cometchat-message-composer/sticker-sending.property.spec.ts:160
↓ 13 callersMethodreset
* Reset the simulator state
projects/cometchat-uikit/src/lib/components/cometchat-message-composer/collaborative-payload.property.spec.ts:136
↓ 13 callersMethodsaveSelection
()
projects/cometchat-uikit/src/lib/services/rich-text-editor.class.ts:261
↓ 13 callersMethodscrollToBottomAfterLoad
()
projects/cometchat-uikit/src/lib/components/cometchat-message-list/cometchat-message-list.component.ts:410
↓ 13 callersFunctionselectAll
* Helper: select all text content inside the element.
projects/cometchat-uikit/src/lib/services/link-manager.class.spec.ts:47
↓ 13 callersMethodsetCallSettingsBuilder
Sets a custom session settings object. @see Requirement 1.6
projects/cometchat-uikit/src/lib/services/ongoing-call.service.ts:38
↓ 13 callersMethodsetMembersCount
(c: number)
projects/cometchat-uikit/src/lib/components/cometchat-group-item/cometchat-group-item.component.spec.ts:127
↓ 13 callersMethodsetMessageToReply
* Set the message to reply to
projects/cometchat-uikit/src/lib/components/cometchat-message-composer/reply-event-emission.property.spec.ts:97
↓ 13 callersMethodsetSender
(_sender: any)
projects/cometchat-uikit/src/lib/components/cometchat-call-buttons/cometchat-call-buttons.component.spec.ts:168
↓ 13 callersMethodsetStreamSpeed
(ms: number)
projects/cometchat-uikit/src/lib/services/cometchat-ai-streaming.service.ts:132
↓ 13 callersFunctionsimulateTextChange
* Simulates text change in the editor and emits the textChange event. * Mirrors the component's text change handling logic. * * @param
projects/cometchat-uikit/src/lib/components/cometchat-message-composer/cometchat-message-composer.property.spec.ts:2468
↓ 12 callersMethodaddFormatters
Add additional formatters to the default set. @see Requirements 11.5
projects/cometchat-uikit/src/lib/services/formatter-config.service.ts:67
↓ 12 callersMethodaddOption
* Adds a new empty option to the poll. * Maximum 12 options allowed. * @see Requirements 1.4, 1.5
projects/cometchat-uikit/src/lib/components/cometchat-create-poll/cometchat-create-poll.component.ts:203
↓ 12 callersMethodallowScopeChange
* Returns the allowed scopes for a scope change operation. * The member's current scope is moved to the front of the list if present. * * @pa
projects/cometchat-uikit/src/lib/utils/GroupMemberUtils.ts:271
↓ 12 callersMethodannounceFormatStateChange
(formatName: string, enabled: boolean)
projects/cometchat-uikit/src/lib/components/cometchat-message-composer/cometchat-message-composer.component.ts:465
↓ 12 callersMethodannounceToScreenReader
(message: string)
projects/cometchat-uikit/src/lib/services/rich-text-editor.class.ts:99
↓ 12 callersFunctioncloseMentionSuggestionsImpl
(ctx: MentionsHandlerContext)
projects/cometchat-uikit/src/lib/components/cometchat-message-composer/cometchat-message-composer.mentions-handler.ts:183
↓ 12 callersFunctioncreateMockPanel
(overrides: Partial<IPanel> = {})
projects/cometchat-uikit/src/lib/events/CometChatUIEvents.spec.ts:48
↓ 12 callersFunctioncreateSlotContext
* Pure function that mirrors the component's slotContext getter. * This is the exact logic from CometChatConversationItemComponent. * *
projects/cometchat-uikit/src/lib/components/cometchat-conversation-item/conversation-item.property.spec.ts:366
↓ 12 callersFunctiondispatchKeydown
( key: string, target?: HTMLElement, opts?: Partial<KeyboardEventInit> )
projects/cometchat-uikit/src/lib/components/base-elements/cometchat-emoji-keyboard/cometchat-emoji-keyboard.component.spec.ts:134
↓ 12 callersMethodfetchSmartReplies
* Fetches smart replies from the CometChat AI extension. * * Sets loading state, calls the API, and updates the replies signal. * Limits resu
projects/cometchat-uikit/src/lib/components/base-elements/cometchat-smart-replies/cometchat-smart-replies.component.ts:244
↓ 12 callersFunctionfn
()
projects/cometchat-uikit/src/lib/CometChatUIKitUtility.spec.ts:170
↓ 12 callersMethodgetActiveChatEntity
* Gets the currently active chat entity (User or Group). * Returns User if set, otherwise Group, otherwise null. * @returns The active User, Gro
projects/cometchat-uikit/src/lib/services/chat-state.service.ts:158
↓ 12 callersMethodgetName
()
projects/cometchat-uikit/src/lib/components/cometchat-users/cometchat-users.component.property.spec.ts:44
↓ 12 callersMethodgetReactions
* Returns the reactions array from the message, or an empty array.
projects/cometchat-uikit/src/lib/components/cometchat-reactions/cometchat-reactions.component.ts:240
↓ 12 callersMethodgetSelectedText
()
projects/cometchat-uikit/src/lib/services/rich-text-editor.class.ts:260
↓ 12 callersMethodgetStartTypingCount
* Gets the count of startTyping calls
projects/cometchat-uikit/src/lib/components/cometchat-message-composer/cometchat-message-composer.property.spec.ts:3475
↓ 12 callersFunctiongetTopMenuItems
()
projects/cometchat-uikit/src/lib/components/base-elements/cometchat-context-menu/cometchat-context-menu.component.spec.ts:80
↓ 12 callersMethodgetUid
()
projects/cometchat-uikit/src/lib/components/cometchat-conversation-item/cometchat-conversation-item.component.spec.ts:71
↓ 12 callersMethodgetUniqueMentionUids
()
projects/cometchat-uikit/src/lib/services/rich-text-editor.class.ts:317
↓ 12 callersMethodgetUnixTimestamp
()
projects/cometchat-uikit/src/lib/CometChatUIKitUtility.ts:7
↓ 12 callersMethodisGroupSelected
(group: CometChat.Group)
projects/cometchat-uikit/src/lib/components/cometchat-groups/cometchat-groups.component.ts:268
↓ 12 callersMethodisGroupSelected
(group: MockGroup)
projects/cometchat-uikit/src/lib/components/cometchat-groups/cometchat-groups.component.property.spec.ts:1235
↓ 12 callersFunctionisInsideFormattedElement
(tagName: string, element: HTMLElement)
projects/cometchat-uikit/src/lib/services/format-manager.dom.ts:79
↓ 12 callersMethodisSelectedById
Checks if an item ID is currently selected.
projects/cometchat-uikit/src/lib/services/list-selection-manager.class.ts:126
↓ 12 callersFunctionisTabKey
(event: KeyboardEvent)
projects/cometchat-uikit/src/lib/utils/keyboard-utils.ts:203
↓ 12 callersMethodloginWithAuthToken
(authToken: string)
projects/cometchat-uikit/src/lib/cometchat-uikit.ts:234
↓ 12 callersFunctionreceiverIdGenerator
()
projects/cometchat-uikit/src/lib/components/cometchat-message-composer/cometchat-message-composer.property.spec.ts:5161
↓ 12 callersMethodrefreshSingleConversation
(message: CometChat.BaseMessage, removeConv = false)
projects/cometchat-uikit/src/lib/services/conversations.service.ts:346
↓ 12 callersMethodremoveMember
(uid: string)
projects/cometchat-uikit/src/lib/services/group-members.service.ts:226
↓ 12 callersMethodreset
Reset all state.
projects/cometchat-uikit/src/lib/services/search-messages.service.ts:92
↓ 12 callersMethodrestoreSelection
(state: any)
projects/cometchat-uikit/src/lib/services/rich-text-editor.class.ts:262
↓ 12 callersMethodscrollToBottom
(smooth: boolean)
projects/cometchat-uikit/src/lib/components/cometchat-message-list/cometchat-message-list.event-handlers.ts:127
↓ 12 callersMethodselectRange
Selects all items between anchor and current index (Shift+Space). @see Requirements 13.4
projects/cometchat-uikit/src/lib/services/list-selection-manager.class.ts:82
↓ 12 callersMethodsendMediaMessage
(message: CometChat.MediaMessage)
projects/cometchat-uikit/src/lib/cometchat-uikit.ts:302
↓ 12 callersMethodsendTextMessage
* Simulate sending a text message * Mirrors the sendTextMessage method in MessageComposerService * * @param receiverId - The receiver ID *
projects/cometchat-uikit/src/lib/components/cometchat-message-composer/reply-mode-metadata.property.spec.ts:159
↓ 12 callersMethodsetConversationTemplates
Sets multiple conversation templates at once.
projects/cometchat-uikit/src/lib/services/templates.service.ts:192
↓ 12 callersMethodupdateFormatStateFromEditor
()
projects/cometchat-uikit/src/lib/components/cometchat-message-composer/cometchat-message-composer.component.ts:500
↓ 12 callersMethodupdateUploadProgress
(fileId: string, progress: number)
projects/cometchat-uikit/src/lib/services/message-composer.service.ts:232
↓ 11 callersMethodannounceCallInitiation
* Announces call initiation (starting voice/video call). * * @param callType - Type of call being initiated
projects/cometchat-uikit/src/lib/services/call-announcer.service.ts:139
↓ 11 callersFunctionassertGracefulRejection
( testCase: SdkErrorTestCase, errorMsg: string )
projects/cometchat-uikit/src/lib/services/sdk-error-graceful-handling.property.spec.ts:216
↓ 11 callersFunctionattachmentsArrayArbitrary
()
projects/cometchat-uikit/src/lib/components/base-elements/cometchat-fullscreen-viewer/cometchat-fullscreen-viewer-lifecycle.property.spec.ts:91
↓ 11 callersMethodclearListTemplates
@deprecated Use typed clear methods instead.
projects/cometchat-uikit/src/lib/services/templates.service.ts:294
↓ 11 callersMethodclosePopover
()
projects/cometchat-uikit/src/lib/components/base-elements/cometchat-popover/cometchat-popover.component.ts:124
↓ 11 callersFunctioncreateComponent
(globalConfig?: Partial<GlobalConfig>)
projects/cometchat-uikit/src/lib/components/cometchat-conversations/cometchat-conversations.preservation.spec.ts:34
↓ 11 callersFunctioncreateConfig
* Helper: create a minimal config with optional overrides.
projects/cometchat-uikit/src/lib/services/rich-text-editor.class.spec.ts:34
↓ 11 callersFunctioncreateDefaultState
()
projects/sample-app/src/app/pages/home/cometchat-home.a11y.spec.ts:211
← previousnext →501–600 of 6,248, ranked by callers