inet-ui
Version:
iNet Angular UI === [![NPM version][npm-version-image]][npm-url] [![NPM downloads][npm-downloads-image]][downloads-url]
24 lines (23 loc) • 731 B
TypeScript
import { Observable } from 'rxjs';
import * as i0 from "@angular/core";
export declare class MessageService {
/** variable to hold the user message */
private message;
constructor();
/** returns the message sent by the editor */
getMessage(): Observable<string>;
/**
* sends message to the editor
*
* @param message message to be sent
*/
sendMessage(message: string): void;
/**
* a short interval to clear message
*
* @param milliseconds time in seconds in which the message has to be cleared
*/
private clearMessageIn;
static ɵfac: i0.ɵɵFactoryDeclaration<MessageService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<MessageService>;
}