@pazznetwork/ngx-chat
Version:
[](https://travis-ci.com/pazznetwork/ngx-chat) [](https://coveralls.io/github/pazzn
10 lines (9 loc) • 344 B
TypeScript
import { InjectionToken } from '@angular/core';
import { Recipient } from '../core/recipient';
/**
* Optional injectable token to handle contact clicks in the chat
*/
export declare const CONTACT_CLICK_HANDLER_TOKEN: InjectionToken<ChatContactClickHandler>;
export interface ChatContactClickHandler {
onClick(contact: Recipient): void;
}