// import { Component, ViewChild, ElementRef, Input } from '@angular/core';
// import { NavController, NavParams , Platform } from 'ionic-angular';
// @Component({
// selector: 'pdf-frame',
// template: `
//
//
//
//
//
//
//
// `
// })
// export class PDFElement {
// @ViewChild('pdfElement') pdfElement: ElementRef;
// @Input() pdfPath: string;
// fullPath: string;
// iframeSrc: string;
// standardPath: string;
// // pdfPath: string;
// constructor(
// public navController: NavController
// , public navParams: NavParams
// , public platform: Platform
// ) {
// // http://dev.omnixell.com:8000/pdf.js/web/viewer.html
// this.pdfPath = this.navParams.get('pdfPath'); // 'https://cdn.mozilla.net/pdfjs/tracemonkey.pdf';
// this.standardPath = 'http://dev.omnixell.com:8000/pdfjs/web/viewer.html?file=';
// //http://dev.omnixell.com:8000/web/viewer.html
// }
// ngAfterViewInit() {
// let iframe = document.getElementById('pdf-frame');
// iframe.setAttribute('src', this.standardPath + this.pdfPath);
// }
// testclick() {
// window.open('https://docs.google.com/viewer?url=https://cdn.mozilla.net/pdfjs/tracemonkey.pdf&embedded=true', '_system', 'location=no');
// }
// }