Questions tagged as 'ionic2'

1
answer

Increase property of an object within an array

I do not know what is the best way to implement this, I am trying with switch without success ... When I click the button, I want to increment the "qtd" property; choice=[ {"id":"1","name":"PRODUTO1","qtd":"0"}, {"id":"2","name":"PRO...
asked by 27.04.2017 / 21:09
1
answer

Error when using css own ionic 2

   Css example: .ion-content { background-color: #000000; }    home.ts import { Component } from '@angular/core'; import { NavController, ViewController } from 'ionic-angular'; import { HomeService } from './home.service';...
asked by 28.02.2017 / 15:30
1
answer

How to remove ion-toolbar elevation?

The following code below 'builds' a toolbar at the top of the application / page. Basically a ion-toolbar within a header that is fixed. I want to remove the elevation from it but I can not: Code <ion-header> <ion-t...
asked by 10.02.2017 / 01:33
2
answers

How to add the event (click) on a Component in Ionic2?

I have a component called footer, it contains the following code: footer.html <ion-footer> <ion-toolbar color="black-light"> <button ion-button color="light" full clear>{{btnFooter}}</button> </ion-toolb...
asked by 28.01.2017 / 16:37
2
answers

ionic2 - upload photo via server

Next Galley. I have an application in ionic 2. The action is simple: take a photo or select a photo from the gallery. So far so good. however, at the time of upload, it goes on the server, but the photo does not go, that is, $ _FILES is empty...
asked by 11.01.2017 / 17:19
1
answer

Angular 2 in Visual Studio 2015

I have been working on a project that uses Ionic Framework and AngularJS for mobile and I use Visual Studio 2015 "Tools for Cordova" to build and debug the project. Recently, Angular 2 and Ionic 2 came out in a stable release and I decided to...
asked by 12.10.2016 / 12:12
1
answer

How to use two * ngFor at the same time in the Ionic2-framework

I'm trying to use 2 * ngFor in the same ion-row. First I tried the following: <ion-row *ngFor="let mes of meses" *ngFor="let por of arrayPorc"> <ion-col width-25>{{mes}}</ion-col> <ion-col width-25>{{por}}</ion-c...
asked by 29.06.2016 / 15:31
1
answer

How to update the view after changing the database with IONIC 2

I'm developing an application with IONIC 2 where I use a webservice REST, of an application that is running online. In the page opening, I make the request and display information correctly on the screen, however, when an item is inserted or cha...
asked by 27.05.2016 / 19:18
0
answers

List firestore data - Ionic 3

Well, I'm developing an app with ionic 3 and firebase. I am having problems in listing existing data in firestore. I have a search bar, which, as it is being typed in it, will display the data below. I already have this implementation done, but...
asked by 03.12.2018 / 17:25
0
answers

Write data in firebase + ionic3

Well, I'm developing an app with ionic 3 and firebase (real time). And I wanted to clarify a doubt, I will explain my case: So, I choose a product, after that I type the information and add it to a list. But there is one though: How do I...
asked by 28.11.2018 / 19:19