import { ViewContainerRef } from '@angular/core' ; import { Router } from '@angular/router' ; import { ModalDialogService , ModalDialogOptions } from "nativescript-angular" ; import { LogService , BaseComponent } from '../../shared/core/index' ; import { FIREBASE_ACTIONS } from '../../shared/shoutoutplay/index' ; import { VideoComponent } from './video.component' ; @ BaseComponent ( { selector : 'settings-help' , templateUrl : './components/settings/help.component.html' } ) export class HelpComponent { constructor ( private router , private modal , private vcRef ) { } public viewOverview ( ) { let options = { context : { promptMsg : '' } , fullscreen : false , viewContainerRef : this . vcRef } ; this . modal . showModal ( VideoComponent , options ) . then ( ( res ) => { } ) ; } public viewIntro ( ) { this . router . navigate ( [ '/intro' ] ) ; } }