Quantcast
Channel: Ionic Forum - Latest posts
Browsing all 230059 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Error: Type PdfViewerComponent is part of the declarations of 2 modules

leonardofmed: PdfViewerComponent i got an error Cannot find name ‘PdfViewerComponent’. in app.module.ts

View Article


Placing an ion-range inside ion-slide

In my experience, swiper (the library that powers ion-slides) is extremely greedy about events. It does not like having any components inside it that need to respond to user input. So I do everything...

View Article


Pass data from TabsPage to ChildTab

YES, I have not specified that I have a service in which I have this function. So I have to call this service in every tab and then with a notification I warn that there are new messages?

View Article

Error: Type PdfViewerComponent is part of the declarations of 2 modules

Here’s how your app.module.ts should be, based on what I said. Keep in mind that this is a try and not the the final solution: import { NgModule , ErrorHandler } from ‘@angular/core’; import {...

View Article

Image may be NSFW.
Clik here to view.

Pass data from TabsPage to ChildTab

Ibernato93: So I have to call this service in every tab I’m not sure I understand how you’re using “call” there. What I would do is have a service that exposes an Observable<BusinessObject>, and...

View Article


Placing an ion-range inside ion-slide

https://ionic-4-template.stackblitz.io

View Article

Error: Type PdfViewerComponent is part of the declarations of 2 modules

i have put the same and i have got another error this time: Error: Unexpected directive ‘PdfViewerComponent’ imported by the module ‘AppModule’. Please add a @NgModule annotation.

View Article

Image may be NSFW.
Clik here to view.

Pass data from TabsPage to ChildTab

rapropos: I’m not sure I understand how you’re using “call” there. What I would do is have a service that exposes an Observable<BusinessObject> , and everywhere you need to know when new...

View Article


Pass data from TabsPage to ChildTab

I don’t know how to say anything more useful than “everywhere you need to know when new BusinessObjects arrive”. My main overarching point is that I would like to suggest thinking in a different...

View Article


Image may be NSFW.
Clik here to view.

Pass data from TabsPage to ChildTab

rapropos: I don’t know how to say anything more useful than “everywhere you need to know when new BusinessObjects arrive”. All right. I understand the concept. I’ll do some tests. Thanks

View Article

Error: Type PdfViewerComponent is part of the declarations of 2 modules

The docs illustrate how this should be done properly.

View Article

Error: Type PdfViewerComponent is part of the declarations of 2 modules

Okay, looking for the documentation I see that there is an error in the imported module name: change PdfViewerComponent to PdfViewerModule . In importation and in imports array.

View Article

Error "tried calling SplashScreen.hide, but the SplashScreen plugin is not...

I use It sometimes because, when I use the Chrome debugger, into the Promises, “this” isn’t the object I expect it to be.

View Article


Error: Type PdfViewerComponent is part of the declarations of 2 modules

thank you both for your responds. You were absolutely right. the solution is: in app.module.ts import { PdfViewerModule } from ‘ng2-pdf-viewer’; imports: [ BrowserModule, … PdfViewerModule ], in...

View Article

Ionic Braintree Tutorial

Register a URL type In Xcode, click on your project in the Project Navigator and navigate to App Target > Info > URL Types Click [+] to add a new URL type Under URL Schemes , enter your app...

View Article


Image may be NSFW.
Clik here to view.

Error "tried calling SplashScreen.hide, but the SplashScreen plugin is not...

mhartington: Why do you have const context = this ? I know this is off-topic, but just to answer to your question. If I have this code: @Component({ selector: 'app-root', templateUrl:...

View Article

Error "tried calling SplashScreen.hide, but the SplashScreen plugin is not...

FWIW, I just tried this with the following: export class HomePage { fruit = "apple"; constructor() { Promise.resolve().then(() => { console.log(this.fruit); debugger; }); } } When the debugger...

View Article


Image may be NSFW.
Clik here to view.

Transparent navbar

I found this tutorial very simple and with the best result https://juniorabranches.herokuapp.com/posts/ionic-3-creating-transparent-header

View Article

Image may be NSFW.
Clik here to view.

Ionic 4 Tab navigation params

Follow, below steps to pass data from tab to pages In tabs.html add tab=“profile/{{currentuserId}}” <ion-tab-button mode=“ios” tab=“profile/{{currentuserId}}”> In tab.ts get firebase current...

View Article

Image may be NSFW.
Clik here to view.

Ionic v3 display not filling iPad

Hi, my application displays well in Android and iOS mobile devices. However, it displays the mobile dimensions for all iPad emulators. What could the problem be? Thank you screenshot1222×1670 79.8 KB

View Article
Browsing all 230059 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>