From 8b64a819e71e80ca33232f8b18c97df3053fb788 Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Tue, 8 Jan 2019 16:37:54 +0300 Subject: [PATCH] expose DOM element ref from BaseTerminalTab --- terminus-terminal/src/components/baseTerminalTab.component.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/terminus-terminal/src/components/baseTerminalTab.component.ts b/terminus-terminal/src/components/baseTerminalTab.component.ts index 14c58a3c..bd3af2e8 100644 --- a/terminus-terminal/src/components/baseTerminalTab.component.ts +++ b/terminus-terminal/src/components/baseTerminalTab.component.ts @@ -1,7 +1,7 @@ import { Observable, Subject, Subscription } from 'rxjs' import { first } from 'rxjs/operators' import { ToastrService } from 'ngx-toastr' -import { NgZone, OnInit, OnDestroy, Inject, Injector, Optional, ViewChild, HostBinding, Input } from '@angular/core' +import { NgZone, OnInit, OnDestroy, Inject, Injector, Optional, ViewChild, HostBinding, Input, ElementRef } from '@angular/core' import { AppService, ConfigService, BaseTabComponent, ElectronService, HostAppService, HotkeysService, Platform, LogService, Logger } from 'terminus-core' import { BaseSession, SessionsService } from '../services/sessions.service' @@ -43,6 +43,7 @@ export class BaseTerminalTabComponent extends BaseTabComponent implements OnInit constructor ( public config: ConfigService, + public element: ElementRef, protected injector: Injector, protected zone: NgZone, protected app: AppService,