uyem
Version:
WebRTC client-server SFU application
14 lines (13 loc) • 653 B
TypeScript
import { MessageFull } from '../types/interfaces';
export declare const prepareMessage: (text: string) => string;
export declare const scrollTo: (element: HTMLDivElement, clientY: number) => void;
export declare const scrollToBottom: (element: HTMLDivElement) => void;
export declare const scrollToTop: (element: HTMLDivElement) => void;
export declare const getShortMess: (text: string) => string;
export declare const getQuoteContext: (item: MessageFull) => string;
export declare const parseQuoteContext: (text: string) => {
id: number;
name: string;
shortMess: string;
};
export declare const gettextAreaRows: (value: string) => number;