MCPcopy Index your code

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

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

↓ 1,594 callersMethodquerySelector
(selector: string)
projects/cometchat-uikit/src/lib/components/cometchat-users/cometchat-users-auto-scroll.property.spec.ts:103
↓ 1,358 callersMethodpush
* Push a new history entry onto the undo stack * Groups entries if they occur within the groupDelay window * Clears the redo stack when a new en
projects/cometchat-uikit/src/lib/services/history-manager.class.ts:71
↓ 970 callersMethodsubscribe
(fn: (value: T) => void)
projects/cometchat-uikit/src/lib/testing/properties/base-element-properties.spec.ts:23
↓ 619 callersMethodnext
(value: T)
projects/cometchat-uikit/src/lib/components/cometchat-message-composer/reply-event-emission.property.spec.ts:61
↓ 598 callersMethodisVisible
* Checks if the component should be visible. * Shows when loading, has replies, or has error.
projects/cometchat-uikit/src/lib/components/base-elements/cometchat-smart-replies/cometchat-smart-replies.component.ts:154
↓ 592 callersMethodgetAttribute
(name: string)
projects/cometchat-uikit/src/lib/components/cometchat-users/cometchat-users-auto-scroll.property.spec.ts:94
↓ 429 callersMethodgetLocalizedString
(key: string)
projects/cometchat-uikit/src/lib/components/cometchat-group-item/cometchat-group-item.component.property.spec.ts:95
↓ 333 callersMethodemit
Emit an event
projects/cometchat-uikit/src/lib/components/cometchat-audio-bubble/wavesurfer/event-emitter.ts:73
↓ 302 callersMethodformat
(text: string)
projects/cometchat-uikit/src/lib/formatters/formatter-pipeline.spec.ts:50
↓ 295 callersMethodgetUid
()
projects/cometchat-uikit/src/lib/formatters/formatter-chaining.spec.ts:26
↓ 278 callersMethoddispatchEvent
(event: MockEvent)
projects/cometchat-uikit/src/lib/components/cometchat-message-header/cometchat-message-header-call-button-hover.property.spec.ts:84
↓ 269 callersMethodpreventDefault
()
projects/cometchat-uikit/src/lib/components/cometchat-message-header/cometchat-message-header-call-button-hover.property.spec.ts:157
↓ 268 callersMethodgetSelection
()
projects/cometchat-uikit/src/lib/services/rich-text-editor.class.ts:259
↓ 247 callersMethodappendChild
(child: MockHTMLElement)
projects/cometchat-uikit/src/lib/components/cometchat-users/cometchat-users-auto-scroll.property.spec.ts:98
↓ 242 callersMethodquerySelectorAll
(selector: string)
projects/cometchat-uikit/src/lib/components/cometchat-message-header/cometchat-message-header-call-button-hover.property.spec.ts:116
↓ 199 callersMethodsetHTML
(html: string)
projects/cometchat-uikit/src/lib/services/rich-text-editor.class.ts:249
↓ 189 callersMethodfocus
(position?: boolean | 'start' | 'end' | 'all' | number)
projects/cometchat-uikit/src/lib/services/rich-text-editor.class.ts:252
↓ 181 callersMethodgetLocalizedString
* Translates a key to the localized string in the current language. * * @param key - The translation key to look up * @returns The translated
projects/cometchat-uikit/src/lib/resources/CometChatLocalize/cometchat-localize.ts:184
↓ 181 callersMethodquerySelector
(selector: string)
projects/cometchat-uikit/src/lib/components/cometchat-message-header/cometchat-message-header-call-button-hover.property.spec.ts:101
↓ 178 callersMethodgetContentEditable
()
projects/cometchat-uikit/src/lib/services/rich-text-editor.class.ts:245
↓ 175 callersFunctioncreateKeyboardEvent
(key: string, options?: KeyboardEventOptions)
projects/cometchat-uikit/src/lib/testing/accessibility-test-utils.ts:40
↓ 167 callersMethoddestroy
()
projects/cometchat-uikit/src/lib/services/rich-text-editor.class.ts:337
↓ 164 callersMethoderror
* Logs an error message if the current level permits. * @param tag - The source identifier (e.g. service or component name). * @param message -
projects/cometchat-uikit/src/lib/utils/CometChatLogger.ts:55
↓ 158 callersFunctionensureSdkReady
()
projects/cometchat-uikit/src/lib/test-setup.ts:98
↓ 158 callersMethodgetGuid
()
projects/cometchat-uikit/src/lib/components/__tests__/active-selection.property.spec.ts:75
↓ 158 callersFunctionsdkCleanup
()
projects/cometchat-uikit/src/lib/test-setup.ts:117
↓ 144 callersMethodtransform
* Transforms a translation key to its localized string value. * * @param key - The translation key to look up * @param params - Optional para
projects/cometchat-uikit/src/lib/resources/CometChatLocalize/translate.pipe.ts:34
↓ 139 callersMethodsetAttribute
(name: string, value: string)
projects/cometchat-uikit/src/lib/components/cometchat-users/cometchat-users-auto-scroll.property.spec.ts:90
↓ 131 callersMethodwarn
* Logs a warning message if the current level permits. * @param tag - The source identifier (e.g. service or component name). * @param message -
projects/cometchat-uikit/src/lib/utils/CometChatLogger.ts:67
↓ 121 callersMethodgetId
()
projects/cometchat-uikit/src/lib/components/cometchat-conversations/cometchat-conversations-component.spec.ts:60
↓ 111 callersFunctioncreateEntry
* Helper: create a HistoryEntry with sensible defaults.
projects/cometchat-uikit/src/lib/services/history-manager.class.spec.ts:22
↓ 109 callersMethodgetUid
()
projects/cometchat-uikit/src/lib/components/cometchat-message-composer/cometchat-message-composer.property.spec.ts:35
↓ 106 callersMethodgetType
()
projects/cometchat-uikit/src/lib/testing/properties/message-type-delegation-properties.spec.ts:44
↓ 105 callersMethodparse
(text: string, streaming?: boolean)
projects/cometchat-uikit/src/lib/components/cometchat-markdown-renderer/cometchat-markdown-parser.ts:194
↓ 103 callersMethoderror
* Show an error toast * * @param text - The message text * @param options - Optional configuration (duration, showCloseButton) * @returns
projects/cometchat-uikit/src/lib/components/base-elements/cometchat-toast/cometchat-toast.service.ts:196
↓ 98 callersMethodclear
* Clear all history * Resets both undo and redo stacks * @see Requirements 6.1, 6.2
projects/cometchat-uikit/src/lib/services/history-manager.class.ts:195
↓ 97 callersMethodgetLocalizedString
(key: string)
projects/cometchat-uikit/src/lib/components/base-elements/cometchat-fullscreen-viewer/cometchat-fullscreen-viewer.component.ts:277
↓ 91 callersMethodhandleKeyNavigation
* Handles keyboard navigation within a grid. * Returns the new focused index, or -1 if no navigation occurred. * * @param event - The keyboar
projects/cometchat-uikit/src/lib/services/grid-navigation.service.ts:93
↓ 91 callersMethodsetActiveUser
* Sets the active user and clears the active group (mutual exclusivity). * @param user - The user to set as active, or null to clear
projects/cometchat-uikit/src/lib/services/chat-state.service.ts:86
↓ 89 callersMethodgetUid
()
projects/cometchat-uikit/src/lib/components/cometchat-users/cometchat-users.component.property.spec.ts:40
↓ 86 callersMethodsetUser
(user: CometChat.User)
projects/cometchat-uikit/src/lib/services/message-list.service.ts:174
↓ 85 callersFunctioncreateKeyboardEvent
* Creates a mock KeyboardEvent for testing
projects/cometchat-uikit/src/lib/utils/keyboard-utils.spec.ts:42
↓ 85 callersMethodtoggleSelection
Toggles selection for an item (Space key behavior). @see Requirements 3.3, 5.3, 7.3, 9.3, 13.1-13.3
projects/cometchat-uikit/src/lib/services/list-selection-manager.class.ts:41
↓ 82 callersFunctioncreateMockUser
* Creates a mock user.
projects/cometchat-uikit/src/lib/components/cometchat-conversations/conversations.property.spec.ts:65
↓ 82 callersMethodstopPropagation
()
projects/cometchat-uikit/src/lib/components/cometchat-message-header/cometchat-message-header-call-button-hover.property.spec.ts:153
↓ 77 callersFunctiongetLocalizedString
(key: string)
projects/cometchat-uikit/src/lib/resources/CometChatLocalize/cometchat-localize.ts:376
↓ 77 callersMethodhandleSelectionChange
(item: T)
projects/cometchat-uikit/src/lib/utils/list-keyboard-handler.ts:46
↓ 76 callersMethodgetMetadata
()
projects/cometchat-uikit/src/lib/components/cometchat-conversation-item/cometchat-conversation-item.component.spec.ts:215
↓ 75 callersMethodgetGuid
()
projects/cometchat-uikit/src/lib/components/cometchat-message-composer/cometchat-message-composer.property.spec.ts:53
↓ 73 callersMethodgetText
()
projects/cometchat-uikit/src/lib/services/rich-text-editor.class.ts:248
↓ 73 callersMethodsetActiveGroup
* Sets the active group and clears the active user (mutual exclusivity). * @param group - The group to set as active, or null to clear
projects/cometchat-uikit/src/lib/services/chat-state.service.ts:97
↓ 72 callersFunctioninitAndDetect
* Triggers change detection and waits for async operations to settle.
projects/cometchat-uikit/src/lib/components/cometchat-video-bubble/cometchat-video-bubble.component.spec.ts:74
↓ 71 callersFunctioncreateComponent
()
projects/cometchat-uikit/src/lib/components/cometchat-conversations/cometchat-conversations-component.spec.ts:329
↓ 71 callersFunctioncreateComponent
* Creates a CometChatGroupMemberItemComponent instance via Object.create() * to bypass Angular's inject() context requirement. * Manually wires inpu
projects/cometchat-uikit/src/lib/components/cometchat-group-member-item/cometchat-group-member-item.component.spec.ts:272
↓ 71 callersMethodhandleKeyDown
(event: KeyboardEvent)
projects/cometchat-uikit/src/lib/services/rich-text-editor.class.ts:141
↓ 71 callersFunctioninitAndDetect
* Triggers change detection and waits for async operations to settle.
projects/cometchat-uikit/src/lib/components/cometchat-image-bubble/cometchat-image-bubble.component.spec.ts:71
↓ 71 callersMethodisSelected
Checks if an item is currently selected.
projects/cometchat-uikit/src/lib/services/list-selection-manager.class.ts:123
↓ 70 callersMethodselectedCount
()
projects/cometchat-uikit/src/lib/testing/properties/selection-mode-state-properties.spec.ts:61
↓ 69 callersMethodactivate
* Activates focus trap within a container. * * When activated, Tab and Shift+Tab navigation will cycle within the * container's focusable ele
projects/cometchat-uikit/src/lib/services/focus-trap.service.ts:66
↓ 68 callersMethoddestroy
()
projects/cometchat-uikit/src/lib/components/base-elements/cometchat-fullscreen-viewer/cometchat-fullscreen-viewer-body-scroll.property.spec.ts:31
↓ 68 callersFunctioninitAndDetect
( fixture: ComponentFixture<CometChatMessageHeaderComponent> )
projects/cometchat-uikit/src/lib/components/cometchat-message-header/cometchat-message-header.component.spec.ts:44
↓ 67 callersFunctioncreateComponent
* Creates a CometChatConversationItemComponent instance via Object.create() * to bypass Angular's inject() context requirement. * Manually wires inp
projects/cometchat-uikit/src/lib/components/cometchat-conversation-item/cometchat-conversation-item.component.spec.ts:515
↓ 66 callersMethodinitialize
* Initialize the service with request builder configuration. * Ports the UsersManager constructor logic. * * @param config - Configuration ma
projects/cometchat-uikit/src/lib/services/users.service.ts:76
↓ 64 callersFunctioncreateComponent
* Creates a CometChatGroupItemComponent instance via Object.create() * to bypass Angular's inject() context requirement. * Manually wires inputs, ou
projects/cometchat-uikit/src/lib/components/cometchat-group-item/cometchat-group-item.component.spec.ts:259
↓ 64 callersFunctioncreateSampleCategories
()
projects/cometchat-uikit/src/lib/components/base-elements/cometchat-emoji-keyboard/cometchat-emoji-keyboard.component.spec.ts:73
↓ 64 callersMethodemit
(value: T)
projects/cometchat-uikit/src/lib/components/cometchat-conversations/conversations.property.spec.ts:1380
↓ 63 callersFunctioncreateMockAudioMessage
* Creates a mock audio message object that mimics CometChat.MediaMessage * with the given number of attachments and optional caption.
projects/cometchat-uikit/src/lib/components/cometchat-audio-bubble/cometchat-audio-bubble.component.spec.ts:35
↓ 63 callersMethodhandleWebsocketMessage
* Routes an incoming WebSocket event into the processing queue. * Wraps in NgZone.run() so signal/state updates trigger OnPush CD.
projects/cometchat-uikit/src/lib/services/cometchat-ai-streaming.service.ts:110
↓ 63 callersFunctionsubscribeWithOptionalCleanup
( subject: Subject<T>, callback: (data: T) => void, destroyRef?: DestroyRef )
projects/cometchat-uikit/src/lib/events/event-utils.ts:9
↓ 62 callersFunctioncreateMockVideoMessage
* Creates a mock video message object that mimics CometChat.MediaMessage * with the given number of attachments and optional caption.
projects/cometchat-uikit/src/lib/components/cometchat-video-bubble/cometchat-video-bubble.component.spec.ts:34
↓ 62 callersFunctioninitAndDetect
* Triggers change detection and waits for async operations to settle.
projects/cometchat-uikit/src/lib/components/cometchat-audio-bubble/cometchat-audio-bubble.component.spec.ts:62
↓ 61 callersFunctioncreateMockImageMessage
* Creates a mock image message object that mimics CometChat.MediaMessage * with the given number of attachments and optional caption.
projects/cometchat-uikit/src/lib/components/cometchat-image-bubble/cometchat-image-bubble.component.spec.ts:33
↓ 60 callersMethodsetActiveCall
* Sets the active call (ongoing or outgoing). * @param call - The active call object, or null to clear
projects/cometchat-uikit/src/lib/services/incoming-call.service.ts:110
↓ 58 callersMethodapplyBlockquote
* Apply blockquote formatting. * Exits if already in a blockquote. Removes code block first (mutual exclusivity). * @see Req 2.7
projects/cometchat-uikit/src/lib/services/format-manager.class.ts:97
↓ 58 callersMethodapplyBold
()
projects/cometchat-uikit/src/lib/services/rich-text-editor.keydown-handler.ts:9
↓ 58 callersFunctionfetchTestUser
(uid: string)
projects/cometchat-uikit/src/lib/test-setup.ts:142
↓ 58 callersMethodgetId
()
projects/cometchat-uikit/src/lib/components/cometchat-message-composer/reply-event-emission.property.spec.ts:29
↓ 58 callersMethodsanitize
Sanitize HTML with default configuration. Results are cached. @see Requirements 13.1-13.6
projects/cometchat-uikit/src/lib/services/html-sanitizer.service.ts:59
↓ 57 callersMethodundo
()
projects/cometchat-uikit/src/lib/services/rich-text-editor.keydown-handler.ts:12
↓ 56 callersFunctioncreateSampleActions
(count = 5)
projects/cometchat-uikit/src/lib/components/base-elements/cometchat-context-menu/cometchat-context-menu.component.spec.ts:53
↓ 55 callersFunctioncreatePollMessage
* Creates a mock CometChat.CustomMessage-like object with poll metadata. * Uses duck-typing to satisfy the component's message interface.
projects/cometchat-uikit/src/lib/components/cometchat-poll-bubble/cometchat-poll-bubble.component.spec.ts:34
↓ 55 callersMethodremoveEventListener
(event: string, handler: Function)
projects/cometchat-uikit/src/lib/components/cometchat-message-header/cometchat-message-header-call-button-hover.property.spec.ts:74
↓ 54 callersMethodisLoading
Whether the paginated list is in loading state (initial load only)
projects/cometchat-uikit/src/lib/components/cometchat-search/cometchat-search-messages-list/cometchat-search-messages-list.component.ts:94
↓ 53 callersFunctioncreateComponent
* Creates a CometChatUserItemComponent instance via Object.create() * to bypass Angular's inject() context requirement. * Manually wires inputs, out
projects/cometchat-uikit/src/lib/components/cometchat-user-item/cometchat-user-item.component.spec.ts:252
↓ 53 callersFunctioncreateFakeTemplateRef
Creates a fake TemplateRef for testing — sufficient for identity/reference checks.
projects/cometchat-uikit/src/lib/services/templates.service.spec.ts:39
↓ 53 callersFunctionflushPromises
()
projects/cometchat-uikit/src/lib/testing/test-helpers.ts:61
↓ 53 callersMethodgetView
* Gets the configured view for a specific message type and bubble part. * * This method implements the priority logic for view resolution: *
projects/cometchat-uikit/src/lib/services/message-bubble-config.service.ts:192
↓ 53 callersMethodisDestroyed
()
projects/cometchat-uikit/src/lib/services/rich-text-editor.class.ts:246
↓ 53 callersFunctionsetMessageAndDetect
* Simulates ngOnChanges for the message input on the component.
projects/cometchat-uikit/src/lib/components/cometchat-collaborative-whiteboard-bubble/cometchat-collaborative-whiteboard-bubble.component.spec.ts:58
↓ 53 callersFunctionsetMessageAndDetect
* Simulates ngOnChanges for the message input on the component.
projects/cometchat-uikit/src/lib/components/cometchat-collaborative-document-bubble/cometchat-collaborative-document-bubble.component.spec.ts:58
↓ 52 callersMethodgetName
()
projects/cometchat-uikit/src/lib/formatters/formatter-chaining.spec.ts:30
↓ 52 callersMethodsetErrorCallback
* Set the error callback for propagating errors to the component.
projects/cometchat-uikit/src/lib/services/users.service.ts:66
↓ 52 callersMethodupdateOption
* Updates an option value. * @param index - The index of the option to update * @param value - The new option value
projects/cometchat-uikit/src/lib/components/cometchat-create-poll/cometchat-create-poll.component.ts:190
↓ 51 callersFunctioncreateDocumentMessage
* Creates a mock CustomMessage with configurable metadata for collaborative * document. The component extracts URL from: * metadata["@injected"]["
projects/cometchat-uikit/src/lib/components/cometchat-collaborative-document-bubble/cometchat-collaborative-document-bubble.component.spec.ts:36
↓ 51 callersFunctioncreateWhiteboardMessage
* Creates a mock CustomMessage with configurable metadata for collaborative * whiteboard. The component extracts URL from: * metadata["@injected"]
projects/cometchat-uikit/src/lib/components/cometchat-collaborative-whiteboard-bubble/cometchat-collaborative-whiteboard-bubble.component.spec.ts:36
↓ 51 callersFunctioninitAndDetect
* Triggers change detection and waits for async operations to settle.
projects/cometchat-uikit/src/lib/components/cometchat-file-bubble/cometchat-file-bubble.component.spec.ts:62
↓ 50 callersMethodannounce
* Announces a message to screen readers. * * Creates a visually hidden live region element if it doesn't exist, * then updates its content to
projects/cometchat-uikit/src/lib/services/live-announcer.service.ts:70
↓ 50 callersMethodcleanup
* Full cleanup: detach listeners and reset state.
projects/cometchat-uikit/src/lib/services/users.service.ts:273
↓ 50 callersFunctioncreateMockUser
* Creates a mock CometChat.User with sensible defaults.
projects/cometchat-uikit/src/lib/components/cometchat-conversation-item/cometchat-conversation-item.component.spec.ts:443
↓ 50 callersMethodgetConversations
()
projects/cometchat-uikit/src/lib/services/conversations.service.ts:108
next →1–100 of 6,248, ranked by callers