ionic2 Questions
2
Solved
I am developing a mobile application based on Ionic + Angular + Cordova + Node js.
the application visits a https server via window.XMLHttpRequest:
module.exports = function request (method, ur...
3
I want to set select-option on toolbar in ionic, but I'm unable to align it to center, I have tried many things... by using these methods I'm unable to do so,
<div text-center>
<label cl...
Matilda asked 23/10, 2017 at 10:54
9
Solved
I am new to Ionic2, and I am trying to build dynamic tabs based on current menu selection. I am just wondering how can I get current page using navigation controller.
...
export class TabsPage {
...
Audiogenic asked 22/11, 2016 at 17:19
4
How do you calculate the distance between two markers in Leaflet-ionic2?
Couldn't figure out, I hope there is an Algorithme to do as soon as i select a marker it show me the distance between my lo...
Indemnify asked 2/4, 2017 at 10:47
10
Solved
How I can remove <ion-item> divider? I have the following code to show 4 items in a row:
<ion-row ion-list>
<ion-col width-25 *ngFor="let player of players">
<ion-item color...
Snuffy asked 29/12, 2016 at 8:52
11
Solved
I run ionic cordova run android for my Ionic Cordova project. At this time, I have my mobile connected to PC via USB. So when I run that command, it installs the app on my real device Android Redmi...
Nahum asked 10/2, 2019 at 20:7
3
Solved
I am using Chart.js I want a half doughnut chart just like the image below. But I am failed to change the thickness of the pie. I tried the property innerRadius but still it's not working
Here i...
Froissart asked 20/4, 2017 at 15:58
3
Solved
i'm trying to build app with ionic 2 & angular 2,
i get this error while i try to run my app.
i build another project to check and the same problem,
i really confused on this problem.
this ...
Durrell asked 5/10, 2016 at 9:55
5
Solved
Hi im facing a weird issue here im getting dynamic data in that im also getting the date and time and im displaying it in html using date pipe in chrome/android it is working good but when i check ...
Sakhuja asked 5/1, 2018 at 10:48
5
Solved
I had created the input type and created the border the border for that box,but when i had clicked in that button it is displaying the default color but i should not display the default color
Belo...
13
Solved
I'm trying to open an Ionic2 Project in Android Studio, but it gives me the following error into the Event Log:
"Gradle sync failed: No installed build tools found. Install the Android build tools...
Thyroxine asked 26/3, 2017 at 13:32
10
Solved
I'm using Ionic v2 and I can not set the selected value when showing the page.
<ion-select [(ngModel)]="company.form">
<ion-option *ngFor="let form of forms" [value]="form" [selected]="t...
Site asked 14/12, 2016 at 15:31
14
Solved
I am trying to access the value of the input file from my ionic 2 application but still I'm facing the issue of property files does not exist on type 'EventTarget'.
As it is properly working in js ...
Penza asked 3/4, 2017 at 4:36
3
Solved
Can you tell me what is the difference between Component and Page generator in the Ionic 3 app? It seems I can use page life cycle hooks like ionViewWillLeave inside the component too.So when shoul...
Enlightenment asked 24/7, 2017 at 11:14
3
Solved
I am building an Ionic2 app. I am trying to convert an image url to a base64 image. I have found this which I am trying to make use of.
I have the following code:
var imgUrl = 'https://www.google...
Plowshare asked 21/1, 2017 at 10:47
5
Solved
In my code, I'm getting the error as Property 'cordova' does not exist on type 'Window'.
This is where I'm getting the error
var browserRef = window.cordova.InAppBrowser.open()
I've also installed...
Crosscheck asked 24/8, 2018 at 13:30
2
I have a simple function in my ionic 2 app to upload a file to my firebase storage server. It grabs a base64 encoded string of an image from a Camera, but when I don't try to force the content-type...
Casaleggio asked 30/1, 2017 at 14:58
8
I'm trying to align menu toggle icon to left and title to center of the header. I'm using the below code:
<ion-header>
<ion-toolbar color="primary">
<button ion-button menuToggl...
Jerusalem asked 6/5, 2017 at 5:52
12
Solved
I want to remove the inbuilt grey small caret from ion-select, and use my
custom caret(arrow) instead.
Code:
ion-select {
color: grey;
background:url("/assets/resources/img/ArrowDownConfig.svg...
Bridgeport asked 22/3, 2019 at 13:33
7
Solved
I would like to set my ion-select with 100% of width.
I have tried with css class like this:
.mySelect { width: 100% !important; }
But it is not working.
Pallium asked 27/7, 2016 at 20:0
6
Solved
I have this code in a click event
let browser = new InAppBrowser('http://example.com/test', '_self');
browser.executeScript({code: "(function() { alert(123); })()"});
When i click the button, in...
Smarten asked 21/2, 2017 at 8:46
4
Solved
In ionic2 how to set the first ion-segment-button in ion-segment to be in active state? I have tried to do it by providing the active class to the ion-segment-button like :
<div padding>
&l...
Mariquilla asked 22/2, 2016 at 19:55
7
Solved
In Ionic 2, I would like to access the $colors variables from the file "[my project]\src\theme\variables.scss".
This file contains:
$colors: (
primary: #387ef5,
secondary: #32db64,
danger: #f5...
Vermicide asked 4/11, 2016 at 9:8
5
I wanted to draw a polygon in the leaflet map in my ionic2 app, for that I found leaflet-draw pluggin, but I am getting this error
TypeError: L.Control.Draw is not a constructor
My code looks this...
Rusell asked 13/8, 2016 at 6:52
4
Solved
How can I setup a global function that can be accessed throughout all views?
In app.component.ts I added a simple method
openShare() {console.log("button clicked")}
and then in my nav I hav...
Artiste asked 2/4, 2017 at 3:19
1 Next >
© 2022 - 2024 — McMap. All rights reserved.