ionic3

Notice: Undefined index: username in C:\xampp\htdocs\8990API\login.php on line 28

我们两清 提交于 2019-12-11 16:14:17
问题 Notice: Undefined index: username in C:\xampp\htdocs\8990API\login.php on line 28 login.html <ion-content class="cont"> <div class="topgrad"> <img src="assets/imgs/login.png"> </div> <div class="userlogin"> <img class="userimg" src="assets/imgs/loginuser.png"> </div> <div class="p-text"> <p text-center>***********</p> </div> <form> <input type="text" placeholder="Username" #username> <input type="password" placeholder="Password" #userpass> </form> <div class="signin-btn"> <button ion-button

Using ion-slides with ion-refresher -Ionic-

[亡魂溺海] 提交于 2019-12-11 15:55:28
问题 I need to make 3 slides using ion-slides component after adding ion-refresher component to my page the ion-refresher always fired when pulling up at any position in the page (middle,bottom) not only on top of the page. can someone help my to make ion-refresher only fired on top of the page this is my code <ion-content> <ion-refresher (ionRefresh)="doRefresh($event);"> <ion-refresher-content pullingText="Pull to refresh" pullingIcon="arrow-up" refreshingSpinner="crescent"> </ion-refresher

Uncaught Error: Cannot find module “@angular/core/src/util” IONIC 3

三世轮回 提交于 2019-12-11 15:52:30
问题 i have this ionic application which was working fine till yesterday. but today when i tried to run , its not running. Its throwing an error saying Uncaught Error: Cannot find module "@angular/core/src/util" . I have no idea what could be the cause. I tried to search on google with the error but no luck. I thought this could be because my anguler files are disappeared somehow. so i tried to run npm install still no luck Can anyone please help me to find out what could be the cause of this

On click function not showing the exact data

此生再无相见时 提交于 2019-12-11 15:49:02
问题 I have one row with two columns as grid view to populate the date from the sevrver. By view everything is fine. But say i have 2 row with 4 column.like below : a b c d So i have a click function on my row where selected item can see as detail view page.But the issues here is .For example if i select first grid cell in first row. that is ‘A’.Then in detail page its showing all the details about ‘A’ Same if i select ‘B’ then also in detail screen its showing as ‘A’ grid cell data only.Which is

Ionic-angular 3.9.2 ignores '--prod' and only does '--dev' builds

送分小仙女□ 提交于 2019-12-11 15:26:40
问题 I've been back and forth and spend tons of hours looking through Stackoverflow and the web at large, and I still have not been able to find an workable answer to this delimma. For our application, as shown from the below excerpts from package.json, we are using the following excerpts: "ionic-angular": "^3.9.2" "@ionic/app-scripts": "3.1.9" "config": { "ionic_generate_source_map": "false", "ionic_webpack": "./config/webpack.config.js", "ionic_copy": "./copy-custom.js" } I have a (seemingly

Instead of displaying user list infinite scroll generates just unlimited empty list (Ionic 3)

拟墨画扇 提交于 2019-12-11 15:23:00
问题 We try to implement infinite scroll for ionic 3 Users list component. The problem is that after implementing ionic's infinite scroll component it destroys users component. Instead of showing users it shows empty list and regularly generates a new list with infinite scroll. So infinite scroll works fine but it shows empty unlimited lists instead of showing users. constructor( ...) { this.socket = io('http://localhost:3000'); console.log(this.groupFilters); for (let i = 0; i < 4; i++) { this

Unexpected value imported by the module please add a @ngmodule annotation

这一生的挚爱 提交于 2019-12-11 15:14:29
问题 I have created an ionic app and in this app I want to connect firebase with the ionic app. but after configuring firebase and ionic app I am having the issue: Unexpected value imported by the module please add a @ngmodule annotation I have imported database over firebase and now I want to fetch as well as Add new data to that data app.module.ts import { BrowserModule } from '@angular/platform-browser'; import { HttpModule } from '@angular/http'; import { ErrorHandler, NgModule } from '

Ionic 3 Angular 5 get request from webService

狂风中的少年 提交于 2019-12-11 14:59:18
问题 I'm trying to get data from a local web service but I cannot print the values ​​in the app. This is my code: team-data.ts : import { HttpClient } from '@angular/common/http'; import { Injectable } from '@angular/core'; import { Observable } from 'rxjs/Observable'; import { map, catchError } from 'rxjs/operators'; import 'rxjs/add/operator/map'; @Injectable() export class TeamDataProvider { constructor(public http: HttpClient) { console.log('Hello TeamDataProvider Provider'); } apiUrl="http:/

How to use custom SVG as refreshingSpinner in ion-refresher Ionic 3

孤街醉人 提交于 2019-12-11 14:23:32
问题 I've been upgrading Ionic v1 to v3 . It's almost done. But I am not making any progress because of one problem. It's just create a refreshingSpinner like the following video. https://www.dropbox.com/s/h820nz759bcqhvn/refresher-spinner.mov?dl=0 And here is the video which I've used the default spinner. Hope to get a good solution for this trouble. 回答1: So according to ionic's documentation you can customize the refresher's template by introducing your own template inside "ion-refresher" tags:

How can i upload multiple files to firebase storage at once?

前提是你 提交于 2019-12-11 14:12:33
问题 I am creating an app in ionic+angularfire2 and i want to upload some images to firebase storage , but i want to upload them all at once or at least X at the time (x > 1) . right now i upload them like this async imageUpload(name, file) { // The storage path const path = name; // The main task let img = 'data:image/jpg;base64,' + file; return this.task = this.afStorage.ref('/').child(name).putString(img, 'data_url').then((snapshot) => { console.log(snapshot) }).catch((err) => { console.log(err