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