terminal.d.ts 842 B

12345678910111213141516171819202122232425
  1. import { AfterViewInit, AfterViewChecked, OnDestroy, ElementRef } from '@angular/core';
  2. import { TerminalService } from './terminalservice';
  3. import { Subscription } from 'rxjs';
  4. export declare class Terminal implements AfterViewInit, AfterViewChecked, OnDestroy {
  5. el: ElementRef;
  6. terminalService: TerminalService;
  7. welcomeMessage: string;
  8. prompt: string;
  9. style: any;
  10. styleClass: string;
  11. commands: any[];
  12. command: string;
  13. container: Element;
  14. commandProcessed: boolean;
  15. subscription: Subscription;
  16. constructor(el: ElementRef, terminalService: TerminalService);
  17. ngAfterViewInit(): void;
  18. ngAfterViewChecked(): void;
  19. response: string;
  20. handleCommand(event: KeyboardEvent): void;
  21. focus(element: HTMLElement): void;
  22. ngOnDestroy(): void;
  23. }
  24. export declare class TerminalModule {
  25. }