-import { Component, OnInit, ViewChild } from '@angular/core';
+import { Component, OnInit } from '@angular/core';
import { NgbModalRef } from '@ng-bootstrap/ng-bootstrap';
styleUrls: ['./dashboard-help.component.scss']
})
export class DashboardHelpComponent implements OnInit {
- @ViewChild('docsForm', { static: true })
- docsFormElement: any;
docsUrl: string;
modalRef: NgbModalRef;
icons = Icons;
openAboutModal() {
this.modalRef = this.modalService.show(AboutComponent, null, { size: 'lg' });
}
-
- goToApiDocs() {
- this.docsFormElement.nativeElement.submit();
- }
}