Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ionic-framework/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
爱奥尼亚-帮助安装pdf查看器_Pdf_Ionic Framework - Fatal编程技术网

爱奥尼亚-帮助安装pdf查看器

爱奥尼亚-帮助安装pdf查看器,pdf,ionic-framework,Pdf,Ionic Framework,我是爱奥尼亚的新手,现在已经开始发展成爱奥尼亚了。但我在安装pdf查看器查看pdf时遇到了一个问题。我正在使用插件DocumentViewer并将其导入组件和模块 import { DocumentViewer} from '@ionic-native/document-viewer' export class MyApp { rootPage:any = TabsPage; constructor(public document: DocumentViewer, platform:

我是爱奥尼亚的新手,现在已经开始发展成爱奥尼亚了。但我在安装pdf查看器查看pdf时遇到了一个问题。我正在使用插件DocumentViewer并将其导入组件和模块

import { DocumentViewer} from '@ionic-native/document-viewer'

export class MyApp {
  rootPage:any = TabsPage;

  constructor(public document: DocumentViewer, platform: Platform, statusBar: StatusBar, splashScreen: SplashScreen) {
    platform.ready().then(() => {
      // Okay, so the platform is ready and our plugins are available.
      // Here you can do any higher level native things you might need.
      statusBar.styleDefault();
      splashScreen.hide();
    });
  }
}
我的页面:

<ion-header>

  <ion-navbar>
    <ion-title>{{item.text}}</ion-title>
  </ion-navbar>

</ion-header>


<ion-content padding>
  <h2>Welcome User</h2>
  <p>
    Great job!

  </p>
</ion-content>

{{item.text}
欢迎用户

干得好!

但它根本不起作用,我尝试了一些其他插件,但由于我对爱奥尼亚有限的知识,我什么也做不到。我会很感激你给我一些帮助,即使你会使用不同的插件或指向一个可能有用的问题或教程

谢谢:)