Questions tagged as 'ionic2'

1
answer

Pass parameters between screens [ionic2 / angular2]

Good morning everyone! I would like to know how I could be passing a parameter (id) between the screens, I tried the NavParams, but I could not do what I wanted. I would like to put the ID on the ion-item and when I clicked it it would send the...
asked by 28.08.2017 / 14:36
0
answers

How to integrate Bootstrap 4 in Ionic 2 or 3?

No app.module.ts import { BsDropdownModule } from 'ngx-bootstrap'; ... imports: [ BrowserModule, HttpModule, BsDropdownModule.forRoot(MyApp) ... ] I tried using this library but gave the following error:    Sass Error  ...
asked by 08.09.2017 / 23:40
1
answer

Modal transition effect

Well, I have the following question, I have a ModalController when I'm running on iphones , the inbound transition comes from below to cover the fool's screen. With this library, can I change this transition? I need the transition to appear...
asked by 25.08.2017 / 15:22
0
answers

Problem Generating apk ionic 3

I'm developing an application that needs to read a Qr Code, but I have a problem generating the .apk in ionic 3.0. When I upload the application in the ionic view it works normally (open the camera and it reads), in the NOX emulator it also work...
asked by 11.08.2017 / 17:01
0
answers

Help with installing Ionic Cordova via Terminal - Mac!

I'm trying to install Ionic to develop a mobile app and I'm following a step-by-step guide to the site: Tableless , but in the part where it is requested to execute the command npm install -g ionic cordova , the packages begin to be insta...
asked by 30.06.2017 / 18:40
1
answer

ngModel does not change the Toogle of Ionic 2

I have a toogle that enables and disables a function, this already works, what does not work is the state of Toogle in the View, the toogle always stays enabled even with ngmodel = false. code below: View: <ion-toggle [(ngModel)]="Ativ...
asked by 26.06.2017 / 02:56
2
answers

Vertically align text between two buttons on Ionic 2

I'm having difficulty vertically aligning the value between 2 buttons. Here is the code snippet and the result: <ion-list> <ion-thumbnail item-start> <img src={{produto.foto}}> </ion-thumbnail> <h2>{{ produ...
asked by 12.07.2017 / 00:07
1
answer

use variable to call ngFor on Ionic2

I have a variable that I display on the screen of my app called {{data.reference}}. In the sample code: <ion-item *ngFor="let cardapiohotrod of cardapiohotrod | async">{{cardapiohotrod.nome}}</ion-item> Where cardapiohotrod i...
asked by 28.06.2017 / 06:50
1
answer

Parameters and variables between components [Ionic + Firebase]

I have a seemingly simple question. I have a project connected to the firebase. In this specific case, I have a * ngFor list of breweries on the "breweries.html" page where I pull all the major nodes of the JSON / Brewery. Oneofthechil...
asked by 27.06.2017 / 23:28
1
answer

Show event value of Page 2 in an input on Page 1

I have two pages and I want the value of an event (script below) from Page 2 to be displayed in an input on Page 1. Page 1 HTML: <ion-list> <ion-item text-center> <ion-input type="text" [(ngModel)]="forca"></i...
asked by 22.06.2017 / 02:31