爱奥尼亚-帮助安装pdf查看器
我是爱奥尼亚的新手,现在已经开始发展成爱奥尼亚了。但我在安装pdf查看器查看pdf时遇到了一个问题。我正在使用插件DocumentViewer并将其导入组件和模块爱奥尼亚-帮助安装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:
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}
欢迎用户
干得好!
但它根本不起作用,我尝试了一些其他插件,但由于我对爱奥尼亚有限的知识,我什么也做不到。我会很感激你给我一些帮助,即使你会使用不同的插件或指向一个可能有用的问题或教程
谢谢:)