Questions tagged [ionic-popup]

In the Ionic Framework, the Ionic Popup service allows programmatically creating and showing popup windows that require the user to respond in order to continue.

In the , the Ionic Popup service allows programmatically creating and showing popup windows that require the user to respond in order to continue.

The popup system has support for more flexible versions of the built in alert(), prompt(), and confirm() functions that users are used to, in addition to allowing popups with completely custom content and look.

Useful link

80 questions
1
vote
1 answer

Ionic basic plug ins(i.e.. pop up ) are not working in Xcode

I am new to ionic . I have written simple log statements like Console.log() , Alert() and $ionicPopup . nothing is working in Xcode . The same things are working in Android . My question is how to implement this in Xcode (Version - 7.3.1).
Bindiya
  • 614
  • 2
  • 9
  • 23
1
vote
2 answers

Offline Event is Firing twice on Ionic mobile app

In one of my Ionic application, I need to check Network connection is available or not on the Device. If not I need to display an alert that, "Network connection is not available". So I've installed the Cordova's network connection plugin and used…
Rajesh Manilal
  • 1,104
  • 9
  • 20
1
vote
3 answers

how to hide / show ionic popup buttons dynamically

I am on my first big ionic project and am stuck. Would someone have an idea how to dynamically hide and show buttons in an ionic popup? I need the buttons to initially be hidden, but then after something happens the buttons should show up. Any idea…
zi88
  • 327
  • 5
  • 8
1
vote
1 answer

bind data in $ionicPopup

when i click on qty than it will be set on ionicPopup $ionicPopup.show({ template: '', title: 'Enter quantity to change', scope: $scope, buttons: [{ text: '
Jatin Devani
  • 190
  • 3
  • 15
1
vote
0 answers

I want to display uploaded file name on html page

I have attachment in my new message section, when i click on that attachment i have pop-up with uploading a file, in my new message i want to display that file name on new message html page. Here is my app.js file function…
1
vote
1 answer

$ionicPopup breaks as state changes in background

I have an interesting situation where I am polling for a location change on a travelling page in my ionic app. When the App detects a location change is by a certain location, it invokes an $ionicPopup.show() alert to see what the user wants to do…
SM3RKY
  • 1,548
  • 1
  • 14
  • 27
1
vote
0 answers

How to customize the $ionicPopup to show the details?

In my Ionic project (Ionic + AngularJS), I need to use the $ionicPopup kind of box to show the full details of the particular product when the user clicks on that product name. But, I was trying to customizing the popup, I couldn't. Even, I tried…
Virtual Realist
  • 175
  • 6
  • 19
1
vote
2 answers

How to connect a button in an $ionicPopup to the controller that is invoking it?

I know ideally using an Actionsheet will solve my problem here, but I want to know if it is possible to connect a button in an ionicPopup to the controller that is invoking it via ng-click directive. I originally thought the ng-click directive will…
Lakmal Caldera
  • 1,001
  • 2
  • 12
  • 25
0
votes
1 answer

Ionic 1 - Popup not working properly after state change

I have an $ionicPopup defined inside a particular controller say Controller-1. When I move to Controller-1 from any other different Controller-X by changing the state as $state.go('xxx.xx.xx'), the $ionicPopup is not working as expected. But at the…
Abhijith C S
  • 89
  • 1
  • 9
0
votes
1 answer

$ionicPopup.show buttons onTap function not getting coverage in Angular Jasmine Unit Test

When I call the outOfMvp() function in my unit test spec file, everything inside the function is getting coverage except for the onTap function. I was wondering how to get coverage in my unit test for the button's onTap function which is in a JSON…
0
votes
1 answer

Ionic popup gets created multiple times on click of device back

I have written a function to open ionic popup on click of device back,problem is as soon as I click device back multiple times, the popup gets created that many times and remains in DOM. How can I close previous popup and create a new one again? App…
0
votes
1 answer

Call function in controller from eventlistener in .run

Using Ionic v1, I am trying to call a function in my controller when an event listener in my app.run fires. The event is created by a Cordova (Phonegap) plugin that detects changes in the headphone jack. I must be doing something wrong because I…
genepool99
  • 130
  • 1
  • 10
0
votes
2 answers

Angular/Ionic : change input focus after completion

In order for users to lon into my application, I send them a code (6 numbers) by SMS. When coming back to the application, I display a popup in order for them to input the said code. I would like to have 6 inputs (maxlength=1) for a better design.…
Michael Maurel
  • 87
  • 2
  • 15
0
votes
1 answer

Enable ion-navbar button while submitting from modal page

import { Component } from '@angular/core'; import { NavController, NavParams } from 'ionic-angular'; import {ModalPage} from '../modal-page/modal-page'; @Component({ selector: 'page-page2', templateUrl: 'page2.html' }) export class…
J.Luis
  • 19
  • 7
0
votes
1 answer

How to send image information to Popup - Ionic

I need to open a Popup windows with an image on it. But I'm not managing to make the link between the image and the popup to work, how do I right it correctly? Here's the code for the js popup controller: $scope.imginstaFull = function() { …
GustavoA
  • 89
  • 10