UNPKG

@pazznetwork/ngx-chat

Version:

[![Build status](https://api.travis-ci.com/pazznetwork/ngx-chat.svg?branch=master)](https://travis-ci.com/pazznetwork/ngx-chat) [![Coverage](https://coveralls.io/repos/github/pazznetwork/ngx-chat/badge.svg?branch=master)](https://coveralls.io/github/pazzn

10 lines (9 loc) 344 B
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; }