Posts by Péttrin Miranda • 302 points
15 posts
-
0
votes1
answer128
viewsA: How to include a file created style.css in my Blank IONIC 3 project
I’m not so sure if this method is effective, Ionic works with a page system that has its own css (in the case of Ionic is scss). If you cannot create a page the command is as follows ionic g page…
-
3
votes2
answers10099
viewsA: 'npm' is not recognized as an internal or external command, a operable program or a batch file
To resolve the issue, run on terminal: npm install --global cross-env Run the npm run dev Source: schoolofnet Another source: Soen…
-
1
votes1
answer221
viewsA: Ionic with admob-free advertising displays only "Nice Job"
Probably Voce is using a id of tests, to make it work you need to create an account. After creating the account use the ID created on it. This will enable you to customize which ads should be…
-
3
votes1
answer1950
viewsA: Ionic 4, take input value
Try to pass an attribute name containing the same name as its Model. Ex: <ion-input name="title" [(ngModel)]="title" class="nome" type="text" ></ion-input>…
ionicanswered Péttrin Miranda 302 -
1
votes2
answers655
viewsA: How to run the method only after the previous function has ended
What would be the first function you perform? Try to call the this.addTempo()as in this example, using a callback. funcao() { let loader = this._loaderCtrl.create(); loader .present() .then(() =>…
-
4
votes1
answer649
viewsQ: Payment cannot be processed because don’t have Secure Connection.SSL Certificate
I am using Ionic 3 with the plugin of the marketPago and when I will complete the purchase it returns me this error, everything takes into account to be an error caused by the Ionic run on a…
-
0
votes2
answers2726
viewsA: Ionic Apk does not work. White screen
Make sure Voce has the plugin installed: ionic cordova plugin add cordova-plugin-splashscreen npm install --save @ionic-native/splash-screen After that , Inside config.xml put that line…
-
1
votes2
answers96
viewsQ: Use of substring for each type of situation
I own a variable with the following information. var dataEvento = "SEXTA-FEIRA 25 JAN 20H00"; I need to create 3 variables different, one variable for 25(Day), JAN(Month) and 20H00(Opening hours).So…
-
1
votes1
answer553
viewsA: Scroll problem when focusing on an input (Ionic)
Try to use ion-item shrouded in input. Ex: <ion-item> <ion-input formControlName="total" type="number" name="total" class="input_peso"> </ion-input> </ion-item> (I do not…
-
1
votes0
answers245
viewsQ: Pre-select first element of the array
My select <ion-item> <ion-label floating color="primary" interface="popover">Opções de Parcelamento</ion-label> <ion-icon name="pricetags"></ion-icon> <ion-select…
-
0
votes2
answers235
viewsA: Angular 6 Undefined property in JSON
Tries to map the array by passing a value to it! public npmArrayMap: any; getNPS(){ this.npsService.getNPS().subscribe((data: any[]) => { this.npsArray = data; console.log(this.npsArray);…
-
1
votes2
answers124
viewsA: Form data disappears when requested a second time
Let’s say the problem was the cache that was saved on the page, I called this page from a ion-tab. <ion-tabs color="ticket-blue-rainbow"> <ion-tab [root]="paginaInicialRoot"…
-
0
votes2
answers124
viewsQ: Form data disappears when requested a second time
I hope I can explain the complexity of the problem. In the first request I make the form sends correctly and the data is filled in, as shown in the image below. But when I try again to send the form…
-
0
votes1
answer773
viewsQ: Calling function typescript in a javascript function
I have a function that when you click on a button it creates a token from the user information. <button ion-button (click)="onTapBuyCart()"></ion-button> But when I try to call…
-
1
votes1
answer202
viewsA: How to put Tabs at the top of the app
Hey, how you doing? If it’s Io, try this code <ion-tabs #myTabs tabsPlacement="top"> <ion-tab [root]="tab1Root" tabTitle="Calculadora" tabIcon="ios-calculator"></ion-tab>…