ngx-editor-plus
Version:
WYSIWYG Editor for Angular Applications
20 lines (19 loc) • 542 B
TypeScript
import { Observable } from 'rxjs/Observable';
import 'rxjs/add/operator/map';
export declare class MessageService {
private message;
constructor();
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(milliseconds);
}