Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70443

Click action working on browser but doesn't on devapp

$
0
0

@elominate wrote:

I am testing an ionic 4 app in dev app. In a page modal, I want to call a function when a card is tap using the click function like this

<ion-card class="ion-no-margin" (click)="gmailReg()">
    <ion-card-content>
    <ion-item id="gmail">
        <ion-icon slot="start" name="logo-google" size="large"></ion-icon>
        Gmail
    </ion-item>
    </ion-card-content>
</ion-card>

When I test this in chrome browser, it works as expected but it doesn’t in devapp.

As an aside, all buttons in the app work perfectly on both chrome browser and devapp.

Is there a way to check why it behaves this way with devapp but works in chrome?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70443

Trending Articles



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